Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Feb 2016 01:12:19 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r408341 - head/emulators/cpmtools2
Message-ID:  <201602070112.u171CJWQ056036@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602070112.u171CJWQ056036>