summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorwiz <wiz>2001-01-11 01:53:28 +0000
committerwiz <wiz>2001-01-11 01:53:28 +0000
commit849471ea06c9da06c523d76c342e2e32965a7deb (patch)
tree201d51d602f761fae884f2e76e645d7ebefec4f1 /print
parent0f4011d0466f8a0175f0a6ce3d9b207bc8bdb752 (diff)
downloadpkgsrc-849471ea06c9da06c523d76c342e2e32965a7deb.tar.gz
Better handling of CFLAGS in program's Makefile, remove -O.
Pkglint-silence a bit.
Diffstat (limited to 'print')
-rw-r--r--print/psutils/Makefile6
-rw-r--r--print/psutils/files/patch-sum3
-rw-r--r--print/psutils/patches/patch-ah13
3 files changed, 18 insertions, 4 deletions
diff --git a/print/psutils/Makefile b/print/psutils/Makefile
index a4b97051da6..a8d9adddc4e 100644
--- a/print/psutils/Makefile
+++ b/print/psutils/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 1999/10/05 13:59:57 agc Exp $
+# $NetBSD: Makefile,v 1.17 2001/01/11 01:53:28 wiz Exp $
# FreeBSD Id: Makefile,v 1.15 1998/01/08 18:52:13 fenner Exp
#
@@ -45,8 +45,8 @@ post-patch:
${SED} -e 's|@prefix@|${PREFIX}|g' ${WRKSRC}/psutil.c.in > ${WRKSRC}/psutil.c
post-install:
- for file in epsffit psbook psnup psresize psselect pstops; do \
- strip ${PREFIX}/bin/$$file; \
+ for f in epsffit psbook psnup psresize psselect pstops; do \
+ strip ${PREFIX}/bin/$$f; \
done
low=`${ECHO} ${PAPERSIZE} | ${TR} '[A-Z]' '[a-z]'`; \
if [ ! -f ${PREFIX}/etc/psutils.cfg ]; then \
diff --git a/print/psutils/files/patch-sum b/print/psutils/files/patch-sum
index 70925e49007..6ed6cd465c7 100644
--- a/print/psutils/files/patch-sum
+++ b/print/psutils/files/patch-sum
@@ -1,4 +1,4 @@
-$NetBSD: patch-sum,v 1.1 1999/07/09 14:23:01 agc Exp $
+$NetBSD: patch-sum,v 1.2 2001/01/11 01:53:28 wiz Exp $
MD5 (patch-aa) = 374e1de08ff4cbbf3183fbf9995be1f5
MD5 (patch-ab) = 2bd4866d91449a4a4ddad42930dbc09a
@@ -7,3 +7,4 @@ MD5 (patch-ad) = 5c1fd7a3918f57c32556faa0d49bf501
MD5 (patch-ae) = 1545c847e42bf45a1c55fddb0bb42a0a
MD5 (patch-af) = dcc0aafa47be9332eb9545a7f8bc7154
MD5 (patch-ag) = ff4a5285673e0ae68b5611b874f92dd9
+MD5 (patch-ah) = 67801e60e61eafd42e17e7e92ae27db2
diff --git a/print/psutils/patches/patch-ah b/print/psutils/patches/patch-ah
new file mode 100644
index 00000000000..50829dab821
--- /dev/null
+++ b/print/psutils/patches/patch-ah
@@ -0,0 +1,13 @@
+$NetBSD: patch-ah,v 1.1 2001/01/11 01:53:28 wiz Exp $
+
+--- Makefile.unix.orig Tue Mar 11 23:52:59 1997
++++ Makefile.unix
+@@ -39,7 +39,7 @@
+ MANDIR = /usr/local/share/man/man$(MANEXT)
+
+ CC = gcc
+-CFLAGS = -DPAPER=\"$(PAPER)\" -DUNIX -O -Wall
++CFLAGS += -DPAPER=\"$(PAPER)\" -DUNIX -Wall
+
+ BIN = psbook psselect pstops epsffit psnup \
+ psresize