diff options
author | steve <steve@FreeBSD.org> | 2001-07-26 02:10:16 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 2001-07-26 02:10:16 +0800 |
commit | e87dd6d4fa83545caf00f34778b6d33cb9a01c1e (patch) | |
tree | 322ca2c3130538b265376303f2840769c5a69dfe /Mk | |
parent | bf1ef9c6974f648cddd7d56d0e1219e91323b5b7 (diff) | |
download | freebsd-ports-gnome-e87dd6d4fa83545caf00f34778b6d33cb9a01c1e.tar.gz freebsd-ports-gnome-e87dd6d4fa83545caf00f34778b6d33cb9a01c1e.tar.zst freebsd-ports-gnome-e87dd6d4fa83545caf00f34778b6d33cb9a01c1e.zip |
(1) Fix a typo becuase -> because.
Submitted by: Thierry Thomas <thierry@thomas.as>
(2) Allow USE_X_PREFIX to be set to NO so that ports can use imake and
not have to be installed in ${X11BASE}.
Submitted by: Masafumi NAKANE <max@wide.ad.jp>
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.port.mk | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index aa3e80a7b5d8..9a65bdfe19d8 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -325,7 +325,7 @@ FreeBSD_MAINTAINER= portmgr@FreeBSD.org # a major can of worms. # # Set these variables if your port doesn't need some of the steps. -# Note that there are no NO_PATCH or NO_CONFIGURE variables becuase +# Note that there are no NO_PATCH or NO_CONFIGURE variables because # those steps are empty by default. NO_EXTRACT is not allowed anymore # since we need to at least create ${WRKDIR}. Also, NO_CHECKSUM is a user # variable and is not to be set in a port's Makefile. See above for NO_PACKAGE. @@ -633,9 +633,12 @@ FILESDIR?= ${MASTERDIR}/files SCRIPTDIR?= ${MASTERDIR}/scripts PKGDIR?= ${MASTERDIR} -.if defined(USE_IMAKE) +.if defined(USE_IMAKE) && !defined(USE_X_PREFIX) USE_X_PREFIX= yes .endif +.if defined(USE_X_PREFIX) && ${USE_X_PREFIX} == "no" +.undef USE_X_PREFIX +.endif .if defined(USE_X_PREFIX) USE_XLIB= yes .endif |