pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/ap-php pass down EXPORT_SYMBOLS_LDFLAGS with EXTRA...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c6a2c720f50a
branches:  trunk
changeset: 572154:c6a2c720f50a
user:      obache <obache%pkgsrc.org@localhost>
date:      Sun Feb 21 08:01:46 2010 +0000

description:
pass down EXPORT_SYMBOLS_LDFLAGS with EXTRA_LDFLAGS, not LDFLAGS,
or configure fail to link tests on SUA 6.0.

diffstat:

 www/ap-php/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r a9fa927ddbda -r c6a2c720f50a www/ap-php/Makefile
--- a/www/ap-php/Makefile       Sat Feb 20 22:42:02 2010 +0000
+++ b/www/ap-php/Makefile       Sun Feb 21 08:01:46 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2008/06/12 02:14:54 joerg Exp $
+# $NetBSD: Makefile,v 1.22 2010/02/21 08:01:46 obache Exp $
 #
 
 PKGNAME=               ${APACHE_PKG_PREFIX}-${PHP_PKG_PREFIX}-${PHP_BASE_VERS}
@@ -17,7 +17,7 @@
 .include "${PHPPKGSRCDIR}/Makefile.php"
 
 # Ensure we export symbols in the linked shared object.
-LDFLAGS+=              ${EXPORT_SYMBOLS_LDFLAGS}
+CONFIGURE_ENV+=        EXTRA_LDFLAGS=${EXPORT_SYMBOLS_LDFLAGS:M*:Q}
 
 INSTALLATION_DIRS=     lib/httpd
 



Home | Main Index | Thread Index | Old Index