svn commit: r408037 - in head/sysutils/fonteditfs: . files

John Marino marino at FreeBSD.org
Thu Feb 4 14:42:56 UTC 2016


Author: marino
Date: Thu Feb  4 14:42:55 2016
New Revision: 408037
URL: https://svnweb.freebsd.org/changeset/ports/408037

Log:
  sysutils/fonteditfs: document ncurses rqmt (USES+=ncurses), respect LDFLAGS
  
  Also link to libncurses, not libcurses
  
  approved by:	infrastructure blanket

Modified:
  head/sysutils/fonteditfs/Makefile
  head/sysutils/fonteditfs/files/patch-Makefile

Modified: head/sysutils/fonteditfs/Makefile
==============================================================================
--- head/sysutils/fonteditfs/Makefile	Thu Feb  4 14:41:06 2016	(r408036)
+++ head/sysutils/fonteditfs/Makefile	Thu Feb  4 14:42:55 2016	(r408037)
@@ -11,6 +11,7 @@ EXTRACT_SUFX=	.tgz
 MAINTAINER=	uri at keves.org
 COMMENT=	Full screen syscons font editor
 
+USES=		ncurses
 PLIST_FILES=	bin/fnteditfs man/man1/fnteditfs.1.gz
 
 post-patch:

Modified: head/sysutils/fonteditfs/files/patch-Makefile
==============================================================================
--- head/sysutils/fonteditfs/files/patch-Makefile	Thu Feb  4 14:41:06 2016	(r408036)
+++ head/sysutils/fonteditfs/files/patch-Makefile	Thu Feb  4 14:42:55 2016	(r408037)
@@ -1,5 +1,5 @@
---- Makefile.orig	2003-09-20 08:17:34.000000000 -0700
-+++ Makefile	2014-01-01 12:27:59.000000000 -0800
+--- Makefile.orig	2003-09-20 15:17:34 UTC
++++ Makefile
 @@ -2,14 +2,9 @@
  # - TODO: MAKE NEATER ONE 
  # This makefile should work under most POSIX OSes (at least FreeBSD)
@@ -13,11 +13,11 @@
 +all: fnteditfs
  fnteditfs: fnteditfs.o font.o stack.o
 -	gcc -o fnteditfs fnteditfs.o font.o stack.o -lcurses
-+	${CC} -o fnteditfs fnteditfs.o font.o stack.o -lcurses
++	${CC} -o fnteditfs fnteditfs.o font.o stack.o ${LDFLAGS} -lncurses
  	strip fnteditfs
  
  fnteditfs.o: fnteditfs.c font.h stack.h
-@@ -17,8 +12,8 @@
+@@ -17,8 +12,8 @@ font.o:	font.c font.h
  stack.o: stack.c stack.h
  
  install: fnteditfs fnteditfs.1


More information about the svn-ports-all mailing list