SOURCES: sharedance-nolocal.patch (NEW) - added -nolocal.patch don...

twittner twittner at pld-linux.org
Wed Jan 10 20:45:29 CET 2007


Author: twittner                     Date: Wed Jan 10 19:45:29 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- added -nolocal.patch don't look for libraries and includes in /usr/local
- use AM_CPPFLAGS (for -DGNU_SOURCE=1) in Makefile.am instead of messing
  with $CPPFLAGS in configure.ac

---- Files affected:
SOURCES:
   sharedance-nolocal.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/sharedance-nolocal.patch
diff -u /dev/null SOURCES/sharedance-nolocal.patch:1.1
--- /dev/null	Wed Jan 10 20:45:29 2007
+++ SOURCES/sharedance-nolocal.patch	Wed Jan 10 20:45:23 2007
@@ -0,0 +1,19 @@
+--- sharedance-0.6/configure.ac~	2007-01-10 20:29:54.000000000 +0100
++++ sharedance-0.6/configure.ac	2007-01-10 20:30:20.000000000 +0100
+@@ -16,9 +16,6 @@
+ AC_AIX
+ AC_ISC_POSIX
+ 
+-CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE=1 -I/usr/local/include"
+-LDFLAGS="$LDFLAGS -L/usr/local/lib"
+-
+ if uname | fgrep SunOS > /dev/null 2> /dev/null ; then
+   CPPFLAGS="$CPPFLAGS -D__EXTENSIONS__=1 -D_XPG4_2=1"
+ fi
+--- sharedance-0.6/src/Makefile.am~	2007-01-10 20:31:16.000000000 +0100
++++ sharedance-0.6/src/Makefile.am	2007-01-10 20:31:29.000000000 +0100
+@@ -1,3 +1,4 @@
++AM_CPPFLAGS = -D_GNU_SOURCE=1
+ localedir = $(datadir)/locale
+ 
+ INCLUDES = -DLOCALEDIR=\"$(localedir)\"
================================================================


More information about the pld-cvs-commit mailing list