This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: new package: lighttpd


Hello Jan,

For localizer, this change was sufficient:
diff -urN -x .build -x .inst -x .sinst localizer-0.3.3-orig/lib/Makefile.am localizer-0.3.3/lib/Makefile.am
--- localizer-0.3.3-orig/lib/Makefile.am        2003-12-11 15:26:35.000000000 +0100
+++ localizer-0.3.3/lib/Makefile.am     2004-09-17 11:42:33.146180800 +0200
@@ -2,7 +2,7 @@
         liblocalizer.la
 
 liblocalizer_la_SOURCES=localizer.c buffer.c mio.c
-liblocalizer_la_LDFLAGS = -module
+liblocalizer_la_LDFLAGS = -no-undefined
 liblocalizer_la_LIBADD = $(Z_LIB) $(BZ_LIB)
 
 INCLUDES=-I$(top_srcdir)/src $(INTLINC)


For lighttpd:

>> gcc: config.c: No such file or directory
>> gcc: no input files
>> make[2]: *** [config.lo] Error 1
>> make[2]: Leaving directory `/home/gerrit/lighttpd-1.2.8/.build/src'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/home/gerrit/lighttpd-1.2.8/.build'
>> make: *** [all] Error 2

> This is a tricky one as if you start the script again with

> $ lighttpd-1.2.8-1.sh build

> it will build the package take the right path for config.c and won't try
> to search for it in the build-directory.


I found a useful solution, I changed the sources listing order in the
Makefile, then configparser.c is compiled before config.c and all the
files are right in place when needed.


Gerrit
-- 
=^..^=



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]