aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/telnet/Makefile
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 /chinese/telnet/Makefile
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
Diffstat (limited to 'chinese/telnet/Makefile')
-rw-r--r--chinese/telnet/Makefile9
1 files changed, 4 insertions, 5 deletions
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