summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2012-04-25 10:00:53 +0000
committerobache <obache@pkgsrc.org>2012-04-25 10:00:53 +0000
commitc787a008b7af7cf8c41ce4f823fd7cb8d99826a6 (patch)
treef83013fdfd38a492eb9db4ab728e8532be7410fb /chat
parentb0992af8209f4c46852b91f3df5879956e713c4b (diff)
downloadpkgsrc-c787a008b7af7cf8c41ce4f823fd7cb8d99826a6.tar.gz
Pass down CC, CFLAGS, LDFLAGS and LIBS to configure.
PR#46288 should be fixed.
Diffstat (limited to 'chat')
-rw-r--r--chat/ircservices/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/chat/ircservices/Makefile b/chat/ircservices/Makefile
index 155a8ae684b..793bfe68f63 100644
--- a/chat/ircservices/Makefile
+++ b/chat/ircservices/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.37 2012/01/14 07:44:33 obache Exp $
+# $NetBSD: Makefile,v 1.38 2012/04/25 10:00:53 obache Exp $
#
DISTNAME= ircservices-5.0.64
@@ -27,6 +27,12 @@ PKG_GROUPS= services
BUILD_DEFS= VARBASE
CONFIGURE_ARGS+= -prefix ${PREFIX:Q}
+CONFIGURE_ARGS+= -cc ${CC:Q}
+CONFIGURE_ARGS+= -cflags ${CFLAGS:Q}
+CONFIGURE_ARGS+= -lflags ${LDFLAGS:Q}
+CONFIGURE_ARGS+= -libs ${LIBS:Q}
+# XXX: why LIBS will not be quoted well?
+LIBS?=
SUBST_CLASSES+= install
SUBST_STAGE.install= post-patch