Override clang -R test, the wrappers drop -R/usr/lib.

This commit is contained in:
joerg 2013-10-25 21:47:51 +00:00
parent 25fed1408f
commit 9a3a70d4e1
3 changed files with 21 additions and 3 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile.common,v 1.29 2013/07/29 03:59:44 taca Exp $
# $NetBSD: Makefile.common,v 1.30 2013/10/25 21:47:51 joerg Exp $
# used by lang/php53/Makefile.php
# used by lang/php/ext.mk
# used by meta-pkgs/php53-extensions/Makefile
@ -22,4 +22,10 @@ MAINTAINER?= pkgsrc-users@NetBSD.org
# needed due to (broken?) configure checks in php-xmlrpc and php5-dom
CONFIGURE_ENV+= PHP_LIBXML_SHARED="1"
.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Mclang)
# configure test gets confused by wrappers dropping -R /usr/lib
CONFIGURE_ENV+= php_cv_cc_dashr=no
.endif
.include "../../mk/bsd.prefs.mk"

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile.common,v 1.16 2013/07/29 04:20:55 taca Exp $
# $NetBSD: Makefile.common,v 1.17 2013/10/25 21:47:51 joerg Exp $
# used by lang/php54/Makefile.php
# used by lang/php/ext.mk
# used by meta-pkgs/php54-extensions/Makefile
@ -14,4 +14,10 @@ MAINTAINER?= pkgsrc-users@NetBSD.org
# needed due to (broken?) configure checks in php-xmlrpc and php5-dom
CONFIGURE_ENV+= PHP_LIBXML_SHARED="1"
.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Mclang)
# configure test gets confused by wrappers dropping -R /usr/lib
CONFIGURE_ARGS+= php_cv_cc_dashr=no
.endif
.include "../../mk/bsd.prefs.mk"

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile.common,v 1.1 2013/07/29 16:41:02 taca Exp $
# $NetBSD: Makefile.common,v 1.2 2013/10/25 21:47:51 joerg Exp $
# used by lang/php55/Makefile.php
# used by lang/php/ext.mk
# used by meta-pkgs/php55-extensions/Makefile
@ -13,3 +13,9 @@ MAINTAINER?= pkgsrc-users@NetBSD.org
# needed due to (broken?) configure checks in php-xmlrpc and php5-dom
CONFIGURE_ENV+= PHP_LIBXML_SHARED="1"
.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Mclang)
# configure test gets confused by wrappers dropping -R /usr/lib
CONFIGURE_ARGS+= php_cv_cc_dashr=no
.endif