aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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