summaryrefslogtreecommitdiff
path: root/lang/php53
diff options
context:
space:
mode:
authorjoerg <joerg>2013-10-25 21:47:51 +0000
committerjoerg <joerg>2013-10-25 21:47:51 +0000
commit1a28a15ac96d500a2ec4afa55cede92dc5b611d3 (patch)
tree42d448cc380541bbac28f360cf8b882f25062091 /lang/php53
parenta8aff0501988992992458da49b83a50b5e410773 (diff)
downloadpkgsrc-1a28a15ac96d500a2ec4afa55cede92dc5b611d3.tar.gz
Override clang -R test, the wrappers drop -R/usr/lib.
Diffstat (limited to 'lang/php53')
-rw-r--r--lang/php53/Makefile.common8
1 files changed, 7 insertions, 1 deletions
diff --git a/lang/php53/Makefile.common b/lang/php53/Makefile.common
index bcd43f6fbe4..157d8b23aec 100644
--- a/lang/php53/Makefile.common
+++ b/lang/php53/Makefile.common
@@ -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"