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.
This commit is contained in:
seb 2004-02-12 15:34:18 +00:00
parent 27f7db673c
commit 15e433f451

View file

@ -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 @@ GNU_CONFIGURE_PREFIX?= ${PREFIX}
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