aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxmj <xmj@FreeBSD.org>2014-12-10 01:44:30 +0800
committerxmj <xmj@FreeBSD.org>2014-12-10 01:44:30 +0800
commit2d922c950fe3afcc7e357c1f6fc011bd6dddf813 (patch)
tree3371eff1c5da080fc38511bd36b50ea6b67acd55
parenta8d7a71589b174ea660c0d280b089c4303810e73 (diff)
downloadfreebsd-ports-gnome-2d922c950fe3afcc7e357c1f6fc011bd6dddf813.tar.gz
freebsd-ports-gnome-2d922c950fe3afcc7e357c1f6fc011bd6dddf813.tar.zst
freebsd-ports-gnome-2d922c950fe3afcc7e357c1f6fc011bd6dddf813.zip
Force PREFIX to LINUXBASE
Using pkg with linux packages will generate conflicts with non-linux ports if PREFIX is set in make.conf. If USE_LINUX_PREFIX is defined, force PREFIX to LINUXBASE, which can be overridden separately. Approved by: koobs, swills (mentors) Approved by: portmgr (swills)
-rw-r--r--Mk/bsd.port.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 894a262c9d81..529f8310ffd5 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -1402,7 +1402,7 @@ SCRIPTDIR?= ${MASTERDIR}/scripts
PKGDIR?= ${MASTERDIR}
.if defined(USE_LINUX_PREFIX)
-PREFIX?= ${LINUXBASE}
+PREFIX:= ${LINUXBASE}
NO_MTREE= yes
.else
PREFIX?= ${LOCALBASE}