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:
parent
27f7db673c
commit
15e433f451
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue