aboutsummaryrefslogtreecommitdiff
path: root/japanese/kterm/Makefile
diff options
context:
space:
mode:
authorJeremy Lea <reg@FreeBSD.org>2000-04-17 00:18:05 +0000
committerJeremy Lea <reg@FreeBSD.org>2000-04-17 00:18:05 +0000
commit877b8a533b44bb6324ebbaf65cd80a60d1572003 (patch)
treee1a018208ceade04ca56a70c5184978cac51853e /japanese/kterm/Makefile
parentd12f14432cc492205cefb505a3c1320dd0f4e31a (diff)
downloadports-877b8a533b44bb6324ebbaf65cd80a60d1572003.tar.gz
ports-877b8a533b44bb6324ebbaf65cd80a60d1572003.zip
Notes
Diffstat (limited to 'japanese/kterm/Makefile')
-rw-r--r--japanese/kterm/Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/japanese/kterm/Makefile b/japanese/kterm/Makefile
index ecf568af4f2a..7e1c43594030 100644
--- a/japanese/kterm/Makefile
+++ b/japanese/kterm/Makefile
@@ -36,27 +36,22 @@ DOCDIR= ${PREFIX}/share/doc/kterm
.if !defined(PACKAGE_BUILDING)
-.if defined(USE_XAW3DLIB) && defined(USE_NEXTAWLIB)
-.if (${USE_XAW3DLIB} == "YES") && (${USE_NEXTAWLIB} == "YES")
+.if defined(WITH_XAW3DLIB) && defined(WITH_NEXTAWLIB)
.BEGIN:
- @${ECHO} "Error: \$${USE_XAW3DLIB} and \$${USE_NEXTAWLIB} cannot be specified simultaneously!"
+ @${ECHO} "Error: \$${WITH_XAW3DLIB} and \$${WITH_NEXTAWLIB} cannot be specified simultaneously!"
@${FALSE}
-.endif
-.elif defined(USE_XAW3DLIB)
-.if (${USE_XAW3DLIB} == "YES")
+.elif defined(WITH_XAW3DLIB)
LIB_DEPENDS+= Xaw3d.6:${PORTSDIR}/x11-toolkits/Xaw3d
post-patch:
@${ECHO_MSG} "===> Applying Xaw3d scrollbar patch"
@${PATCH} ${PATCH_ARGS} < ${FILESDIR}/patch-Xaw3d
-.endif
-.elif defined(USE_NEXTAWLIB)
-.if (${USE_NEXTAWLIB} == "YES")
+.elif defined(WITH_NEXTAWLIB)
LIB_DEPENDS+= neXtaw.6:${PORTSDIR}/x11-toolkits/neXtaw
post-patch:
@${ECHO_MSG} "===> Applying neXtaw scrollbar patch"
@${PATCH} ${PATCH_ARGS} < ${FILESDIR}/patch-neXtaw
.endif
-.endif
+
.endif
post-install: