summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorwiedi <wiedi>2014-02-24 13:13:08 +0000
committerwiedi <wiedi>2014-02-24 13:13:08 +0000
commitf194d6d1bde522f42122cd72bf648d6581eff8a4 (patch)
tree7b803b6c10d64feefd3a3a85585265d91f1d570a /editors
parent48abce5d37e272a0752a119da82e2bab659aa74c (diff)
downloadpkgsrc-f194d6d1bde522f42122cd72bf648d6581eff8a4.tar.gz
Depend on termcap and don't link compat on SunOS
Diffstat (limited to 'editors')
-rw-r--r--editors/ve/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/editors/ve/Makefile b/editors/ve/Makefile
index 168efc1b511..f832b7232c3 100644
--- a/editors/ve/Makefile
+++ b/editors/ve/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2012/10/03 11:43:45 asau Exp $
+# $NetBSD: Makefile,v 1.6 2014/02/24 13:13:08 wiedi Exp $
DISTNAME= ve-1.0
CATEGORIES= editors
@@ -11,6 +11,12 @@ COMMENT= NTHU-CS Maple BBS 2.36 BBS-like editor
INSTALLATION_DIRS= bin
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+BUILDLINK_TRANSFORM+= rm:-lcompat
+.endif
+
post-patch:
${SED} "s,/usr/local,${PREFIX},g" ${WRKSRC}/edit.c > ${WRKSRC}/edit.c.done
${MV} ${WRKSRC}/edit.c.done ${WRKSRC}/edit.c
@@ -20,4 +26,5 @@ do-install:
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/ve
${INSTALL_DATA} ${WRKSRC}/ve.hlp ${DESTDIR}${PREFIX}/share/ve
+.include "../../mk/termcap.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"