aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/cpmtools2
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2016-02-07 09:12:19 +0800
committermarino <marino@FreeBSD.org>2016-02-07 09:12:19 +0800
commitc569e396977faafda21b62f511c97277d038f42a (patch)
tree89258045dcb2af0c42c1c5fdb585070bbd15f5fe /emulators/cpmtools2
parentc294e8a89fcbf40052ed6bbc6500f6c71c1858b8 (diff)
downloadfreebsd-ports-gnome-c569e396977faafda21b62f511c97277d038f42a.tar.gz
freebsd-ports-gnome-c569e396977faafda21b62f511c97277d038f42a.tar.zst
freebsd-ports-gnome-c569e396977faafda21b62f511c97277d038f42a.zip
emulators/cpmtools2: document ncurses requirement (USES+=ncurses)
also link with ncurses, not curses. approved by: infrastructure blanket
Diffstat (limited to 'emulators/cpmtools2')
-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