aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorbarner <barner@FreeBSD.org>2005-11-22 19:17:51 +0800
committerbarner <barner@FreeBSD.org>2005-11-22 19:17:51 +0800
commit0f9ff5f432e0e40b4fbd42538c12773d8c64fb12 (patch)
treedf3d464badb1456d5080db99dcedc80a4ec590d9 /devel
parentf7fb284de84607b51fa6143d45670facab9a93bb (diff)
downloadfreebsd-ports-gnome-0f9ff5f432e0e40b4fbd42538c12773d8c64fb12.tar.gz
freebsd-ports-gnome-0f9ff5f432e0e40b4fbd42538c12773d8c64fb12.tar.zst
freebsd-ports-gnome-0f9ff5f432e0e40b4fbd42538c12773d8c64fb12.zip
Avoid duplicate LASTEST_LINKs by conditionally modifing PKGNAMESUFFIX,
resulting in boost-python-gcc3 (if the boost port is built on 4.x from devel/boost-gcc3 (which implies WITH_PYTHON)).
Diffstat (limited to 'devel')
-rw-r--r--devel/boost/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/devel/boost/Makefile b/devel/boost/Makefile
index 6527b20cdd5d..72fdfa487814 100644
--- a/devel/boost/Makefile
+++ b/devel/boost/Makefile
@@ -66,7 +66,11 @@ WITH_PYTHON= IMPLIED_BY_PYSTE
# (this implies -DWITH_PYTHON).
#
.if defined(WITH_PYTHON)
+.if !defined(BOOST_GCC3_PORT)
PKGNAMESUFFIX= -python
+.else
+PKGNAMESUFFIX= -python-gcc3
+.endif
PLIST_SUB+= BOOST_PYTHON=""
MAKE_ENV+= PYTHON_ROOT="${LOCALBASE}"\
PYTHON_VERSION="${PYTHON_VERSION}"\