diff options
author | obache <obache> | 2012-04-25 12:20:48 +0000 |
---|---|---|
committer | obache <obache> | 2012-04-25 12:20:48 +0000 |
commit | 02c18af30fb5d889b6626543739974ae3db4b160 (patch) | |
tree | a1682e1a62cda0a7cab586dd3a020dfad99472cc /chat | |
parent | a610dd9d74ac4ca1840d00410eba5da04da007b2 (diff) | |
download | pkgsrc-02c18af30fb5d889b6626543739974ae3db4b160.tar.gz |
handle empty LIBS correctly.
Diffstat (limited to 'chat')
-rw-r--r-- | chat/ircservices/Makefile | 6 |
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 |