mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
o fix build of HPinkjet driver.
o change WWW. PR: 33798 Submitted by: KATO Tsuguru <tkato@prontomail.com>
This commit is contained in:
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
|
@ -165,8 +165,9 @@ post-patch:
|
||||||
${PERL} -pi -e 's|^DEVICE_DEVS|#DEVICE_DEVS|g' \
|
${PERL} -pi -e 's|^DEVICE_DEVS|#DEVICE_DEVS|g' \
|
||||||
${WRKSRC}/src/unix-gcc.mak
|
${WRKSRC}/src/unix-gcc.mak
|
||||||
# for HPinkjet driver
|
# for HPinkjet driver
|
||||||
${PERL} -pi -e 's|CFLAGS="-O2 -Wall"||g ; \
|
${PERL} -pi -e 's|CFLAGS="-O2 -Wall"|CFLAGS="\$$CFLAGS -O0"|g ; \
|
||||||
s|CXXFLAGS="-O2 -Wall"||g' ${WRKSRC}/${HPIJS_NAME}/configure
|
s|CXXFLAGS="-O2 -Wall"|CXXFLAGS="\$$CXXFLAGS -O0"|g' \
|
||||||
|
${WRKSRC}/${HPIJS_NAME}/configure
|
||||||
find ${WRKSRC}/${HPIJS_NAME} -name '*.h' | xargs ${PERL} -pi -e \
|
find ${WRKSRC}/${HPIJS_NAME} -name '*.h' | xargs ${PERL} -pi -e \
|
||||||
's|#include <malloc.h>||g'
|
's|#include <malloc.h>||g'
|
||||||
|
|
||||||
|
|
|
@ -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
|
|
||||||
|
|
|
@ -21,4 +21,5 @@ This port includes add-on packages (not part of the official gs release)
|
||||||
- http://hpinkjet.sourceforge.net/
|
- http://hpinkjet.sourceforge.net/
|
||||||
o Additional contributed uniprint driver profiles for
|
o Additional contributed uniprint driver profiles for
|
||||||
- Epson Stylus Color 740 and Epson LQ-1170
|
- 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
|
||||||
|
|
|
@ -165,8 +165,9 @@ post-patch:
|
||||||
${PERL} -pi -e 's|^DEVICE_DEVS|#DEVICE_DEVS|g' \
|
${PERL} -pi -e 's|^DEVICE_DEVS|#DEVICE_DEVS|g' \
|
||||||
${WRKSRC}/src/unix-gcc.mak
|
${WRKSRC}/src/unix-gcc.mak
|
||||||
# for HPinkjet driver
|
# for HPinkjet driver
|
||||||
${PERL} -pi -e 's|CFLAGS="-O2 -Wall"||g ; \
|
${PERL} -pi -e 's|CFLAGS="-O2 -Wall"|CFLAGS="\$$CFLAGS -O0"|g ; \
|
||||||
s|CXXFLAGS="-O2 -Wall"||g' ${WRKSRC}/${HPIJS_NAME}/configure
|
s|CXXFLAGS="-O2 -Wall"|CXXFLAGS="\$$CXXFLAGS -O0"|g' \
|
||||||
|
${WRKSRC}/${HPIJS_NAME}/configure
|
||||||
find ${WRKSRC}/${HPIJS_NAME} -name '*.h' | xargs ${PERL} -pi -e \
|
find ${WRKSRC}/${HPIJS_NAME} -name '*.h' | xargs ${PERL} -pi -e \
|
||||||
's|#include <malloc.h>||g'
|
's|#include <malloc.h>||g'
|
||||||
|
|
||||||
|
|
|
@ -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
|
|
||||||
|
|
|
@ -21,4 +21,5 @@ This port includes add-on packages (not part of the official gs release)
|
||||||
- http://hpinkjet.sourceforge.net/
|
- http://hpinkjet.sourceforge.net/
|
||||||
o Additional contributed uniprint driver profiles for
|
o Additional contributed uniprint driver profiles for
|
||||||
- Epson Stylus Color 740 and Epson LQ-1170
|
- 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
|
||||||
|
|
Loading…
Add table
Reference in a new issue