summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeri Harris <keri@gentoo.org>2010-07-03 03:51:45 +0000
committerKeri Harris <keri@gentoo.org>2010-07-03 03:51:45 +0000
commite84bf774399d5a6e30db780680b225f5cb15b7d1 (patch)
tree15ab0ce20658f5ed1ab74d32f82fb83d76197c0d /net-misc/pedro/files
parentRestored ~x86-fbsd keywords. (diff)
downloadhistorical-e84bf774399d5a6e30db780680b225f5cb15b7d1.tar.gz
historical-e84bf774399d5a6e30db780680b225f5cb15b7d1.tar.bz2
historical-e84bf774399d5a6e30db780680b225f5cb15b7d1.zip
Respect LDFLAGS
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'net-misc/pedro/files')
-rw-r--r--net-misc/pedro/files/pedro-1.5-portage.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/net-misc/pedro/files/pedro-1.5-portage.patch b/net-misc/pedro/files/pedro-1.5-portage.patch
new file mode 100644
index 000000000000..a5639eac38b2
--- /dev/null
+++ b/net-misc/pedro/files/pedro-1.5-portage.patch
@@ -0,0 +1,20 @@
+--- pedro-1.5.orig/configure 2010-06-15 15:59:50.000000000 +1200
++++ pedro-1.5/configure 2010-07-03 15:29:06.000000000 +1200
+@@ -11292,7 +11292,7 @@
+ ac_config_headers="$ac_config_headers config.h"
+
+ #AC_CONFIG_MACRO_DIR([m4])
+-CPPFLAGS="-O2 -g `pkg-config --cflags glib-2.0`"
++CPPFLAGS="`pkg-config --cflags glib-2.0`"
+ case "${host}" in
+ i[3456789]86-*-mingw32*)
+ WIN32="yes"
+@@ -11300,7 +11300,7 @@
+ ;;
+ *)
+ WIN32="no"
+- LDFLAGS="-L../lib -lpedro `pkg-config --libs glib-2.0` -lm"
++ LDFLAGS="$LDFLAGS -L../lib -lpedro `pkg-config --libs glib-2.0` -lm"
+ ;;
+ esac
+ ac_config_files="$ac_config_files Makefile src/Makefile src/server/Makefile src/lib/Makefile src/examples/Makefile doc/Makefile"