summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2012-04-25 12:20:48 +0000
committerobache <obache@pkgsrc.org>2012-04-25 12:20:48 +0000
commit697ff48b63734f2145b3473b63e7a2747de40abb (patch)
treea1682e1a62cda0a7cab586dd3a020dfad99472cc /chat
parent9f7c0bb227080cf6de201423d7266a03670ad338 (diff)
downloadpkgsrc-697ff48b63734f2145b3473b63e7a2747de40abb.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