pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/chat/ircservices handle empty LIBS correctly.
details: https://anonhg.NetBSD.org/pkgsrc/rev/9440f5488e86
branches: trunk
changeset: 602976:9440f5488e86
user: obache <obache%pkgsrc.org@localhost>
date: Wed Apr 25 12:20:48 2012 +0000
description:
handle empty LIBS correctly.
diffstat:
chat/ircservices/Makefile | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (20 lines):
diff -r 767edc8a1a1b -r 9440f5488e86 chat/ircservices/Makefile
--- a/chat/ircservices/Makefile Wed Apr 25 11:56:42 2012 +0000
+++ b/chat/ircservices/Makefile Wed Apr 25 12:20:48 2012 +0000
@@ -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+= -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
Home |
Main Index |
Thread Index |
Old Index