aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2016-02-07 01:12:19 +0000
committerJohn Marino <marino@FreeBSD.org>2016-02-07 01:12:19 +0000
commit4a50156f1001bfde59b960001d627b7e839749a2 (patch)
tree89258045dcb2af0c42c1c5fdb585070bbd15f5fe
parent09d12f831deadc237717053eea04f7534c2f672c (diff)
downloadports-4a50156f1001bfde59b960001d627b7e839749a2.tar.gz
ports-4a50156f1001bfde59b960001d627b7e839749a2.zip
Notes
-rw-r--r--emulators/cpmtools2/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/emulators/cpmtools2/Makefile b/emulators/cpmtools2/Makefile
index 03f1cf806df9..4b1cc65b892f 100644
--- a/emulators/cpmtools2/Makefile
+++ b/emulators/cpmtools2/Makefile
@@ -12,7 +12,7 @@ COMMENT= Tools to access CP/M disks and disk images
LICENSE= GPLv3
-USES= desthack
+USES= desthack ncurses
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--bindir=${STAGEDIR}${PREFIX}/sbin \
--datarootdir=${DATADIR}
@@ -30,7 +30,7 @@ LIBDSK_LIB_DEPENDS= libdsk.so:${PORTSDIR}/emulators/libdsk
# fixes for stage
post-patch:
@${REINPLACE_CMD} -e 's|getopt$$(OBJEXT)||g; s|getopt1$$(OBJEXT)||g' \
- -e 's|\($$(CC).*fsed.cpm$$(OBJEXT).*$$(DEVICEOBJ)\)|\1 -lcurses|' \
+ -e 's|\($$(CC).*fsed.cpm$$(OBJEXT).*$$(DEVICEOBJ)\)|\1 -lncurses|' \
-e '/^CFLAGS=/s|@CFLAGS@|@CFLAGS@ -DDISKDEFS=\\"@datarootdir@/diskdefs\\" -DFORMAT=\\"$$(DEFFORMAT)\\"|' \
-e 's|diskdefs @datarootdir@/diskdefs|diskdefs $$(DESTDIR)@datarootdir@/diskdefs|' \
${WRKSRC}/Makefile.in