SOURCES: slang-LDFLAGS.patch (NEW) - use LDFLAGS in modules

sparky sparky at pld-linux.org
Sat Aug 5 16:52:48 CEST 2006


Author: sparky                       Date: Sat Aug  5 14:52:48 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- use LDFLAGS in modules

---- Files affected:
SOURCES:
   slang-LDFLAGS.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/slang-LDFLAGS.patch
diff -u /dev/null SOURCES/slang-LDFLAGS.patch:1.1
--- /dev/null	Sat Aug  5 16:52:48 2006
+++ SOURCES/slang-LDFLAGS.patch	Sat Aug  5 16:52:43 2006
@@ -0,0 +1,33 @@
+diff -Nur slang-2.0.6.orig/modules/Makefile.in slang-2.0.6.LDFLAGS/modules/Makefile.in
+--- slang-2.0.6.orig/modules/Makefile.in	2006-02-05 21:47:31.000000000 +0100
++++ slang-2.0.6.LDFLAGS/modules/Makefile.in	2006-08-05 16:51:40.000000000 +0200
+@@ -57,21 +57,21 @@
+ 	cp ../src/config.h .
+ 
+ slsmg-module.so: slsmg-module.c config.h
+-	$(CC_SHARED) $(INCS) slsmg-module.c -o slsmg-module.so $(LIBS)
++	$(CC_SHARED) $(LDFLAGS) $(INCS) slsmg-module.c -o slsmg-module.so $(LIBS)
+ newt-module.so: newt-module.c config.h
+-	$(CC_SHARED) $(INCS) newt-module.c -o newt-module.so -lnewt $(LIBS)
++	$(CC_SHARED) $(LDFLAGS) $(INCS) newt-module.c -o newt-module.so -lnewt $(LIBS)
+ termios-module.so: termios-module.c config.h
+-	$(CC_SHARED) $(INCS) termios-module.c -o termios-module.so $(LIBS)
++	$(CC_SHARED) $(LDFLAGS) $(INCS) termios-module.c -o termios-module.so $(LIBS)
+ select-module.so: select-module.c config.h
+-	$(CC_SHARED) $(INCS) select-module.c -o select-module.so $(LIBS)
++	$(CC_SHARED) $(LDFLAGS) $(INCS) select-module.c -o select-module.so $(LIBS)
+ fcntl-module.so: fcntl-module.c config.h
+-	$(CC_SHARED) $(INCS) fcntl-module.c -o fcntl-module.so $(LIBS)
++	$(CC_SHARED) $(LDFLAGS) $(INCS) fcntl-module.c -o fcntl-module.so $(LIBS)
+ varray-module.so: varray-module.c config.h
+-	$(CC_SHARED) $(INCS) varray-module.c -o varray-module.so $(LIBS)
++	$(CC_SHARED) $(LDFLAGS) $(INCS) varray-module.c -o varray-module.so $(LIBS)
+ pcre-module.so: pcre-module.c config.h
+-	$(CC_SHARED) $(INCS) $(PCRE_INC) pcre-module.c -o pcre-module.so $(PCRE_LIB) $(LIBS)
++	$(CC_SHARED) $(LDFLAGS) $(INCS) $(PCRE_INC) pcre-module.c -o pcre-module.so $(PCRE_LIB) $(LIBS)
+ png-module.so: png-module.c config.h
+-	$(CC_SHARED) $(INCS) $(PNG_INC) png-module.c -o png-module.so $(PNG_LIB) $(LIBS)
++	$(CC_SHARED) $(LDFLAGS) $(INCS) $(PNG_INC) png-module.c -o png-module.so $(PNG_LIB) $(LIBS)
+ 
+ install: all
+ 	-$(MKINSDIR) $(DEST_MODULEDIR)
================================================================


More information about the pld-cvs-commit mailing list