svn commit: r408341 - head/emulators/cpmtools2

John Marino marino at FreeBSD.org
Sun Feb 7 01:12:20 UTC 2016


Author: marino
Date: Sun Feb  7 01:12:19 2016
New Revision: 408341
URL: https://svnweb.freebsd.org/changeset/ports/408341

Log:
  emulators/cpmtools2: document ncurses requirement (USES+=ncurses)
  
  also link with ncurses, not curses.
  
  approved by:	infrastructure blanket

Modified:
  head/emulators/cpmtools2/Makefile

Modified: head/emulators/cpmtools2/Makefile
==============================================================================
--- head/emulators/cpmtools2/Makefile	Sun Feb  7 00:34:38 2016	(r408340)
+++ head/emulators/cpmtools2/Makefile	Sun Feb  7 01:12:19 2016	(r408341)
@@ -12,7 +12,7 @@ COMMENT=	Tools to access CP/M disks and 
 
 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
 # 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


More information about the svn-ports-all mailing list