summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authorobache <obache>2012-04-25 12:20:48 +0000
committerobache <obache>2012-04-25 12:20:48 +0000
commit02c18af30fb5d889b6626543739974ae3db4b160 (patch)
treea1682e1a62cda0a7cab586dd3a020dfad99472cc /chat
parenta610dd9d74ac4ca1840d00410eba5da04da007b2 (diff)
downloadpkgsrc-02c18af30fb5d889b6626543739974ae3db4b160.tar.gz
handle empty LIBS correctly.
Diffstat (limited to 'chat')
-rw-r--r--chat/ircservices/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/chat/ircservices/Makefile b/chat/ircservices/Makefile
index 793bfe68f63..0a9a58db6c3 100644
--- a/chat/ircservices/Makefile
+++ b/chat/ircservices/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2012/04/25 10:00:53 obache Exp $
+# $NetBSD: Makefile,v 1.39 2012/04/25 12:20:48 obache Exp $
#
DISTNAME= ircservices-5.0.64
@@ -30,9 +30,7 @@ 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?=
+CONFIGURE_ARGS+= ${empty(LIBS):?:-libs ${LIBS:Q}}
SUBST_CLASSES+= install
SUBST_STAGE.install= post-patch