From 02c18af30fb5d889b6626543739974ae3db4b160 Mon Sep 17 00:00:00 2001 From: obache Date: Wed, 25 Apr 2012 12:20:48 +0000 Subject: handle empty LIBS correctly. --- chat/ircservices/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'chat/ircservices') 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 -- cgit v1.2.3