diff options
author | jlam <jlam> | 2002-10-22 22:57:56 +0000 |
---|---|---|
committer | jlam <jlam> | 2002-10-22 22:57:56 +0000 |
commit | 7a396c1862755effde39d45bc57bf97adf6e8ef9 (patch) | |
tree | 72eb48a11c2cbae9d92fdbb017183feffab5ae5f /mk | |
parent | c03fd77dd888dd63250e29a54162d261cab3fc71 (diff) | |
download | pkgsrc-7a396c1862755effde39d45bc57bf97adf6e8ef9.tar.gz |
x11.buildlink.mk is no more so remove checks for X11_BUILDLINK_MK.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.mk | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index ef54e65ff69..f3f569bb7fd 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.1075 2002/10/22 22:54:07 jlam Exp $ +# $NetBSD: bsd.pkg.mk,v 1.1076 2002/10/22 22:57:56 jlam Exp $ # # This file is in the public domain. # @@ -365,14 +365,12 @@ DISTINFO_FILE?= ${.CURDIR}/distinfo M4?= /usr/bin/m4 .endif -.if !defined(X11_BUILDLINK_MK) -. if defined(USE_X11) +.if defined(USE_X11) X11_LDFLAGS= # empty -. if ${_USE_RPATH} == "yes" +. if ${_USE_RPATH} == "yes" X11_LDFLAGS+= -Wl,-R${X11BASE}/lib -. endif -X11_LDFLAGS+= -L${X11BASE}/lib . endif +X11_LDFLAGS+= -L${X11BASE}/lib LDFLAGS+= ${X11_LDFLAGS} .endif .if ${_USE_RPATH} == "yes" @@ -987,9 +985,8 @@ CONFIGURE_ARGS+= --host=${MACHINE_GNU_PLATFORM} CONFIGURE_ARGS+= --prefix=${GNU_CONFIGURE_PREFIX} HAS_CONFIGURE= yes . if ${X11PREFIX} == ${LOCALBASE} -. if !defined(X11_BUILDLINK_MK) -CONFIGURE_ARGS+= --x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include -. endif +CONFIGURE_ARGS+= --x-includes=${X11BASE}/include +CONFIGURE_ARGS+= --x-libraries=${X11BASE}/lib . endif .endif |