summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFUJISHIMA Satsuki <sf@FreeBSD.org>2002-01-14 14:57:59 +0000
committerFUJISHIMA Satsuki <sf@FreeBSD.org>2002-01-14 14:57:59 +0000
commit8dc28077ebfde0336f64dfad2d3af9a0b0248ad8 (patch)
tree67ac47fc00bda9859566479c43d09844e0a5ad55
parentAdd FreeBSD port of the ixj driver for Quicknet LineJack and (diff)
o fix build of HPinkjet driver.
o change WWW. PR: 33798 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Notes
Notes: svn path=/head/; revision=53057
-rw-r--r--print/ghostscript-gnu/Makefile5
-rw-r--r--print/ghostscript-gnu/files/patch-hpijs-1.0:configure.in13
-rw-r--r--print/ghostscript-gnu/pkg-descr3
-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
6 files changed, 10 insertions, 32 deletions
diff --git a/print/ghostscript-gnu/Makefile b/print/ghostscript-gnu/Makefile
index bcb340444b38..5d7a4d592c68 100644
--- a/print/ghostscript-gnu/Makefile
+++ b/print/ghostscript-gnu/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/ghostscript-gnu/files/patch-hpijs-1.0:configure.in b/print/ghostscript-gnu/files/patch-hpijs-1.0:configure.in
deleted file mode 100644
index ff76f69888c3..000000000000
--- a/print/ghostscript-gnu/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/ghostscript-gnu/pkg-descr b/print/ghostscript-gnu/pkg-descr
index 6f0c2db93756..3fd51758b3a4 100644
--- a/print/ghostscript-gnu/pkg-descr
+++ b/print/ghostscript-gnu/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
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