bsd.port.mk: Define CONFIGURE_TARGET using OPSYS instead of freebsd

This change has been applied locally to dports for over a year, but it
also will facilitate vendor rebranding for FreeBSD.

Phabric:	D413
Approved by:	portmgr (bapt)
This commit is contained in:
John Marino 2014-07-15 13:20:56 +00:00
parent 86b1bf4c10
commit 6afd4a2d6f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361918

View file

@ -853,7 +853,7 @@ FreeBSD_MAINTAINER= portmgr@FreeBSD.org
# CONFIGURE_TARGET
# - The name of target to call when GNU_CONFIGURE is
# defined.
# Default: ${ARCH}-portbld-freebsd${OSREL}
# Default: ${ARCH}-portbld-${OPSYS:tl}${OSREL}
# GNU_CONFIGURE_PREFIX
# - The directory passed as prefix to the configure script if
# GNU_CONFIGURE is set.
@ -2754,7 +2754,7 @@ LATEST_LINK?= ${PKGBASE}
PKGLATESTFILE= ${PKGLATESTREPOSITORY}/${LATEST_LINK}${PKG_SUFX}
CONFIGURE_SCRIPT?= configure
CONFIGURE_TARGET?= ${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_TARGET?= ${ARCH}-portbld-${OPSYS:tl}${OSREL}
CONFIGURE_TARGET:= ${CONFIGURE_TARGET:S/--build=//}
CONFIGURE_LOG?= config.log