(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>
This commit is contained in:
Steve Price 2001-07-25 18:10:16 +00:00
parent 4774b924d5
commit 27f71f8f05
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=45488

View File

@ -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