pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Always add --x-{includes,libraries}=${X11BASE}/{inc...
details: https://anonhg.NetBSD.org/pkgsrc/rev/803e40804fbd
branches: trunk
changeset: 468326:803e40804fbd
user: seb <seb%pkgsrc.org@localhost>
date: Thu Feb 12 15:34:18 2004 +0000
description:
Always add --x-{includes,libraries}=${X11BASE}/{include,lib}
to CONFIGURE_ARGS if USE_X11 is defined i.e no need to special case
xpkgwedge usage.
Please note that previously these were added to CONFIGURE_ARGS
as soon as xpkgwedge was used even if the package did not actually
defined USE_X11 or something implying it.
diffstat:
mk/bsd.pkg.mk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 9584b25f1111 -r 803e40804fbd mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk Thu Feb 12 15:31:56 2004 +0000
+++ b/mk/bsd.pkg.mk Thu Feb 12 15:34:18 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1391 2004/02/12 13:39:57 jlam Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1392 2004/02/12 15:34:18 seb Exp $
#
# This file is in the public domain.
#
@@ -1295,7 +1295,7 @@
CONFIGURE_ARGS+= --host=${MACHINE_GNU_PLATFORM}
CONFIGURE_ARGS+= --prefix=${GNU_CONFIGURE_PREFIX}
HAS_CONFIGURE= yes
-. if ${X11PREFIX} == ${LOCALBASE}
+. if defined(USE_X11)
CONFIGURE_ARGS+= --x-includes=${X11BASE}/include
CONFIGURE_ARGS+= --x-libraries=${X11BASE}/lib
. endif
Home |
Main Index |
Thread Index |
Old Index