pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/ircservices Pass down CC, CFLAGS, LDFLAGS and LIB...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5e73093317b9
branches:  trunk
changeset: 602974:5e73093317b9
user:      obache <obache%pkgsrc.org@localhost>
date:      Wed Apr 25 10:00:53 2012 +0000

description:
Pass down CC, CFLAGS, LDFLAGS and LIBS to configure.
PR#46288 should be fixed.

diffstat:

 chat/ircservices/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 557aeb15e629 -r 5e73093317b9 chat/ircservices/Makefile
--- a/chat/ircservices/Makefile Wed Apr 25 09:20:56 2012 +0000
+++ b/chat/ircservices/Makefile Wed Apr 25 10:00:53 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.37 2012/01/14 07:44:33 obache Exp $
+# $NetBSD: Makefile,v 1.38 2012/04/25 10:00:53 obache Exp $
 #
 
 DISTNAME=      ircservices-5.0.64
@@ -27,6 +27,12 @@
 BUILD_DEFS=    VARBASE
 
 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?=
 
 SUBST_CLASSES+=                install
 SUBST_STAGE.install=   post-patch



Home | Main Index | Thread Index | Old Index