o fix build of HPinkjet driver.

o change WWW.

PR:		33798
Submitted by:	KATO Tsuguru <tkato@prontomail.com>
This commit is contained in:
FUJISHIMA Satsuki 2002-01-14 14:57:59 +00:00
parent ed1e1f00ba
commit 8dc28077eb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=53057
6 changed files with 10 additions and 32 deletions

View file

@ -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'

View file

@ -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

View file

@ -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

View file

@ -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'

View file

@ -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

View file

@ -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