summaryrefslogtreecommitdiff
path: root/editors/hexedit/Makefile
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-10-01 00:51:46 +0000
committerwiz <wiz@pkgsrc.org>2001-10-01 00:51:46 +0000
commitdaf6a76d0dd400c4faf00bb6e2236a8cd3612788 (patch)
treedd4cbc2cce949cea23a8fd013408ed7a2c567d1f /editors/hexedit/Makefile
parentcb09e0f2e94997734a6609525fe248956b37b4cf (diff)
downloadpkgsrc-daf6a76d0dd400c4faf00bb6e2236a8cd3612788.tar.gz
Buildlinkify (strongly), and use ncurses' buildlink.mk, which removes
the need for some of the hacks in the patches.
Diffstat (limited to 'editors/hexedit/Makefile')
-rw-r--r--editors/hexedit/Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/editors/hexedit/Makefile b/editors/hexedit/Makefile
index 03177e72286..eafb084562d 100644
--- a/editors/hexedit/Makefile
+++ b/editors/hexedit/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2001/02/16 14:40:50 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2001/10/01 00:51:46 wiz Exp $
#
DISTNAME= hexedit-1.1.0
@@ -11,8 +11,8 @@ MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.chez.com/prigaux/hexedit.html
COMMENT= to view and edit files in hexadecimal or ASCII
-GNU_CONFIGURE= yes
-LDFLAGS+= -L${LOCALBASE}/lib # for -lncurses
+GNU_CONFIGURE= yes
+USE_BUILDLINK_ONLY= yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/hexedit
@@ -20,10 +20,5 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/hexedit
.endfor
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} == "NetBSD"
-DEPENDS+= ncurses>=4.2:../../devel/ncurses
-.endif
-
+.include "../../devel/ncurses/buildlink.mk"
.include "../../mk/bsd.pkg.mk"