Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Feb 2016 16:23:12 +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: r408049 - in head/sysutils/paicc: . files
Message-ID:  <201602041623.u14GNCuq037480@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Thu Feb  4 16:23:12 2016
New Revision: 408049
URL: https://svnweb.freebsd.org/changeset/ports/408049

Log:
  sysutils/paicc: document ncurses rqmt (USES+=ncurses), respect LDFLAGS
  
  Also link to libncurses, not libcurses.  While here, respect 80 columns.
  
  approved by:	infrastructure blanket

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

Modified: head/sysutils/paicc/Makefile
==============================================================================
--- head/sysutils/paicc/Makefile	Thu Feb  4 16:18:13 2016	(r408048)
+++ head/sysutils/paicc/Makefile	Thu Feb  4 16:23:12 2016	(r408049)
@@ -9,6 +9,9 @@ MASTER_SITES=	SUNSITE/utils/shell
 MAINTAINER=	peter@FreeBSD.org
 COMMENT=	Paint Changed Characters
 
-MAKE_ENV+=	BIN=${STAGEDIR}${PREFIX}/bin MAN=${STAGEDIR}${PREFIX}/man DATA=${STAGEDIR}${PREFIX}/libdata
+USES=		ncurses
+MAKE_ENV+=	BIN=${STAGEDIR}${PREFIX}/bin \
+		MAN=${STAGEDIR}${PREFIX}/man \
+		DATA=${STAGEDIR}${PREFIX}/libdata
 
 .include <bsd.port.mk>

Modified: head/sysutils/paicc/files/patch-Makefile
==============================================================================
--- head/sysutils/paicc/files/patch-Makefile	Thu Feb  4 16:18:13 2016	(r408048)
+++ head/sysutils/paicc/files/patch-Makefile	Thu Feb  4 16:23:12 2016	(r408049)
@@ -1,33 +1,34 @@
---- Makefile.orig	Mon Sep  2 19:13:20 1996
-+++ Makefile	Sat Apr 28 16:34:34 2001
-@@ -13,8 +13,8 @@
+--- Makefile.orig	1996-09-03 02:13:20 UTC
++++ Makefile
+@@ -12,16 +12,12 @@
+ #
  #   3) make install
  
 -BIN=/usr/local/bin
 -MAN=/usr/local/man
 -CC=cc -O
 -SHELL=/bin/sh
-+#BIN=/usr/local/bin
-+#MAN=/usr/local/man
-+#CC=cc -O
-+#SHELL=/bin/sh
  
  
-@@ -22,5 +22,5 @@
+ 
  all:
  	@echo "Making PAICC ..."
 -	@make paicc CFLAGS=" -O" LFLAGS=" -lcurses"
-+	@make paicc CFLAGS="${CFLAGS}" LFLAGS=" -lcurses"
++	@make paicc CFLAGS="${CFLAGS}" LFLAGS="${LDFLAGS} -lncurses"
  
  clean:
-@@ -35,5 +35,5 @@
+ 	rm -fr paicc.o evap.o paicc
+@@ -34,7 +30,7 @@ paicc: paicc.o evap.o
+ 
  evap.o: evap/evap.h evap/evap.c
  	@echo '  making evap.o ...'
 -	$(CC) -DP_EVAP_MM_PATH=\"$(BIN)/paiccmm.a\" -c $$CFLAGS evap/evap.c
 +	$(CC) -DP_EVAP_MM_PATH=\"$(PREFIX)/libdata/paiccmm.a\" -c $$CFLAGS evap/evap.c
  
  paicc.o: paicc.c evap.o evap/evap.h evap/paicc_pdt_out
-@@ -47,14 +47,10 @@
+ 	@echo '  making paicc.o ...'; \
+@@ -46,16 +42,12 @@ install:
+ 	@echo "Copying and linking PAICC to $(BIN) ..."
  	cp paicc $(BIN)/paicc
  	chmod 755 $(BIN)/paicc
 -	-rm -fr $(BIN)/paint_changed_characters
@@ -45,3 +46,4 @@
 -	-ln -s $(MAN)/man1/paicc.1 $(MAN)/man1/paint_changed_characters.1
  
  # Unix flavor-dependent section!
+ 



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