From 96d19d19bcac4df3fcf8ce63d4ff7085e21f72be Mon Sep 17 00:00:00 2001 From: linimon Date: Tue, 22 Feb 2011 06:18:50 +0000 Subject: Catch up with usage of SRC_BASE introduced in bsd.port.mk r1.662. This should fix the builds on pointyhat-west. Hat: portmgr --- chinese/telnet/Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'chinese/telnet/Makefile') 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 -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 -- cgit