aboutsummaryrefslogtreecommitdiffstats
path: root/print/ghostscript7
diff options
context:
space:
mode:
authorsf <sf@FreeBSD.org>2002-01-14 22:57:59 +0800
committersf <sf@FreeBSD.org>2002-01-14 22:57:59 +0800
commit25f6501d04b4de5968a13eb19c3d3489ed1c6604 (patch)
treef53b65214d771359944eeb9e582d41b0c4061e4e /print/ghostscript7
parent8dd5f00e882ec54ec3b28a25246c9c99735eadce (diff)
downloadfreebsd-ports-gnome-25f6501d04b4de5968a13eb19c3d3489ed1c6604.tar.gz
freebsd-ports-gnome-25f6501d04b4de5968a13eb19c3d3489ed1c6604.tar.zst
freebsd-ports-gnome-25f6501d04b4de5968a13eb19c3d3489ed1c6604.zip
o fix build of HPinkjet driver.
o change WWW. PR: 33798 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Diffstat (limited to 'print/ghostscript7')
-rw-r--r--print/ghostscript7/Makefile5
-rw-r--r--print/ghostscript7/files/patch-hpijs-1.0:configure.in13
-rw-r--r--print/ghostscript7/pkg-descr3
3 files changed, 5 insertions, 16 deletions
diff --git a/print/ghostscript7/Makefile b/print/ghostscript7/Makefile
index bcb340444b38..5d7a4d592c68 100644
--- a/print/ghostscript7/Makefile
+++ b/print/ghostscript7/Makefile
@@ -165,8 +165,9 @@ post-patch:
${PERL} -pi -e 's|^DEVICE_DEVS|#DEVICE_DEVS|g' \
${WRKSRC}/src/unix-gcc.mak
# for HPinkjet driver
- ${PERL} -pi -e 's|CFLAGS="-O2 -Wall"||g ; \
- s|CXXFLAGS="-O2 -Wall"||g' ${WRKSRC}/${HPIJS_NAME}/configure
+ ${PERL} -pi -e 's|CFLAGS="-O2 -Wall"|CFLAGS="\$$CFLAGS -O0"|g ; \
+ s|CXXFLAGS="-O2 -Wall"|CXXFLAGS="\$$CXXFLAGS -O0"|g' \
+ ${WRKSRC}/${HPIJS_NAME}/configure
find ${WRKSRC}/${HPIJS_NAME} -name '*.h' | xargs ${PERL} -pi -e \
's|#include <malloc.h>||g'
diff --git a/print/ghostscript7/files/patch-hpijs-1.0:configure.in b/print/ghostscript7/files/patch-hpijs-1.0:configure.in
deleted file mode 100644
index ff76f69888c3..000000000000
--- a/print/ghostscript7/files/patch-hpijs-1.0:configure.in
+++ /dev/null
@@ -1,13 +0,0 @@
---- hpijs-1.0/configure.in.orig Fri Jan 11 22:01:55 2002
-+++ hpijs-1.0/configure.in Fri Jan 11 22:02:22 2002
-@@ -39,8 +39,8 @@
- CXXFLAGS="-g -Wall"
- AC_MSG_RESULT(debug)
- else
-- CFLAGS="-O2 -Wall"
-- CXXFLAGS="-O2 -Wall"
-+ CFLAGS="-pipe -Wall"
-+ CXXFLAGS="-pipe -Wall"
- AC_MSG_RESULT(release)
- fi
-
diff --git a/print/ghostscript7/pkg-descr b/print/ghostscript7/pkg-descr
index 6f0c2db93756..3fd51758b3a4 100644
--- a/print/ghostscript7/pkg-descr
+++ b/print/ghostscript7/pkg-descr
@@ -21,4 +21,5 @@ This port includes add-on packages (not part of the official gs release)
- http://hpinkjet.sourceforge.net/
o Additional contributed uniprint driver profiles for
- Epson Stylus Color 740 and Epson LQ-1170
-WWW: http://www.gnu.org/software/ghostscript/ghostscript.html
+
+WWW: http://www.cs.wisc.edu/~ghost/doc/gnu/index.htm