diff options
author | marino <marino@FreeBSD.org> | 2016-02-05 00:23:12 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2016-02-05 00:23:12 +0800 |
commit | d49f8995875b3cb12230f390e3f291182e0856cc (patch) | |
tree | 27ebaa005cf83a9f46dc7f94b5131e1d3f0f84bc /sysutils/paicc | |
parent | a76c5def188c4abf278558f06f4a325a64bfb170 (diff) | |
download | freebsd-ports-gnome-d49f8995875b3cb12230f390e3f291182e0856cc.tar.gz freebsd-ports-gnome-d49f8995875b3cb12230f390e3f291182e0856cc.tar.zst freebsd-ports-gnome-d49f8995875b3cb12230f390e3f291182e0856cc.zip |
sysutils/paicc: document ncurses rqmt (USES+=ncurses), respect LDFLAGS
Also link to libncurses, not libcurses. While here, respect 80 columns.
approved by: infrastructure blanket
Diffstat (limited to 'sysutils/paicc')
-rw-r--r-- | sysutils/paicc/Makefile | 5 | ||||
-rw-r--r-- | sysutils/paicc/files/patch-Makefile | 24 |
2 files changed, 17 insertions, 12 deletions
diff --git a/sysutils/paicc/Makefile b/sysutils/paicc/Makefile index c73badaa8681..52fd775713fc 100644 --- a/sysutils/paicc/Makefile +++ b/sysutils/paicc/Makefile @@ -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> diff --git a/sysutils/paicc/files/patch-Makefile b/sysutils/paicc/files/patch-Makefile index 78d18b8b0ebe..8eabf811a0dd 100644 --- a/sysutils/paicc/files/patch-Makefile +++ b/sysutils/paicc/files/patch-Makefile @@ -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! + |