aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2011-02-22 14:18:50 +0800
committerlinimon <linimon@FreeBSD.org>2011-02-22 14:18:50 +0800
commit96d19d19bcac4df3fcf8ce63d4ff7085e21f72be (patch)
tree4abeda8fad91b3d2ce7046bfd090306d3600d888
parent01bc9ea3421a8c1d610f268f3b1208bb969e0699 (diff)
downloadfreebsd-ports-gnome-96d19d19bcac4df3fcf8ce63d4ff7085e21f72be.tar.gz
freebsd-ports-gnome-96d19d19bcac4df3fcf8ce63d4ff7085e21f72be.tar.zst
freebsd-ports-gnome-96d19d19bcac4df3fcf8ce63d4ff7085e21f72be.zip
Catch up with usage of SRC_BASE introduced in bsd.port.mk r1.662. This
should fix the builds on pointyhat-west. Hat: portmgr
-rw-r--r--chinese/big5width/Makefile3
-rw-r--r--chinese/telnet/Makefile9
2 files changed, 5 insertions, 7 deletions
diff --git a/chinese/big5width/Makefile b/chinese/big5width/Makefile
index b11d2a2c13b1..9bfb77f82904 100644
--- a/chinese/big5width/Makefile
+++ b/chinese/big5width/Makefile
@@ -24,8 +24,7 @@ PLIST_SUB= BASELOCALEDIR=${BASELOCALEDIR} \
.include <bsd.port.pre.mk>
-SRCBASE?= ${PORTSDIR}/../src
-SRCDIR= ${SRCBASE}/share/mklocale
+SRCDIR= ${SRC_BASE}/share/mklocale
.if !exists(${SRCDIR})
IGNORE= need to build this port with the locale source
diff --git a/chinese/telnet/Makefile b/chinese/telnet/Makefile
index c725d7a9704f..19566a33c9a2 100644
--- a/chinese/telnet/Makefile
+++ b/chinese/telnet/Makefile
@@ -20,12 +20,11 @@ PLIST_FILES= bin/zh-telnet
.include <bsd.port.pre.mk>
-SRCBASE?= ${PORTSDIR}/../src
-.if exists (${SRCBASE}/contrib/telnet/telnet)
-SRCDIR= ${SRCBASE}/contrib/telnet/telnet
+.if exists (${SRC_BASE}/contrib/telnet/telnet)
+SRCDIR= ${SRC_BASE}/contrib/telnet/telnet
CONTRIB_TELNET= yes
-.elif exists (${SRCBASE}/usr.bin/telnet)
-SRCDIR= ${SRCBASE}/usr.bin/telnet
+.elif exists (${SRC_BASE}/usr.bin/telnet)
+SRCDIR= ${SRC_BASE}/usr.bin/telnet
.else
IGNORE= need to build this port with the source code of telnet
.endif