Subject: Re: pkg/15986: print/ghostscript[-nox11] (6.01) won't build
To: Matthias Scheler <tron@zhadum.de>
From: Greg A. Woods <woods@weird.com>
List: netbsd-bugs
Date: 03/24/2002 15:00:06
[ On Sunday, March 24, 2002 at 15:05:05 (+0100), Matthias Scheler wrote: ]
> Subject: Re: pkg/15986: print/ghostscript[-nox11] (6.01) won't build
>
> The different current version is the only difference I can spot from
> the provided information.

I understand -- it's just that there's so little of the base system
involved in actually building gs.  Even gmake is used, not /usr/bin/make.

On the other hand the gs build process is getting to be one of the most
complex I know of (perhaps only kde, openoffice, and maybe mozilla, are
more complex! ;-), and with this latest release it's just getting
"worse".


> BTW: did your try to rebuild the "gimp-print-libs" package?

Hmmmm.... I don't have gimp-print-lib[s] installed.  Maybe that's the problem.

It doesn't seem to be in the DEPENDS list:

	$ make show-var VARNAME=DEPENDS | tr ' ' '\012'
	ghostscript-fonts-6.0:../../fonts/ghostscript-fonts
	watanabe-vfont-19930318:../../fonts/watanabe_vfont
	png>=1.2.1:../../graphics/png
	ja-vflib-lib>=2.24.2:../../japanese/vflib-lib
	freetype-lib>=1.3.1:../../graphics/freetype-lib

I have all those other dependencies installed, so gimp-print-libs can't
have been in any of their DEPENDS lists.


I do think I now know where those identifiers are supposed to be defined
now, but I don't understand why they're not there.  I think they should
be at the end of this file:

	$ tail work/gimp-print-4.2.0/src/ghost/gdevstp-print.h              
	  }
	#endif
	
	#endif /* __GIMP_PRINT_H__ */
	/*
	 * End of $Id: gimp-print.h.in,v 1.8 2001/11/06 02:44:42 rlk Exp $
	 */
	#ifndef GIMPPRINT_VERSION_FIX
	#define GIMPPRINT_VERSION_FIX
	#endif /* GIMPPRINT_VERSION_FIX */

They are in the generated "gimp-print-4.2.0/config.h" though:

	$ fgrep RELEASE_DATE work/gimp-print-4.2.0/config.h
	#define RELEASE_DATE "24 Nov 2001"

	$ fgrep VERSION work/gimp-print-4.2.0/config.h      
	#define VERSION "4.2.0"

I can't quite figure out though what's putting that fragment on the end
of gdevstp-print.h though.  There's this one command that shows up in
the "make configure" output which seems to be what's writing that file:

	sed -e 's/print-printers.c/gdevstp-printers.c/' \
	    -e 's/^\#include "\(gimp\-\)*\(.*\)\.h"$/\#include "gdevstp-\2.h"/' \
            -e 's/^\#include <gimp-print\/gimp-print\(.*\)\.h>$/\#include "gdevstp-print\1.h"/' \
	  ../../include/gimp-print/gimp-print.h > ./gdevstp-print.h

However if I'm guessing the current working directory correctly then
that's not the command which appends the #define's because:

	$ tail work/gimp-print-4.2.0/include/gimp-print/gimp-print.h
	extern const stp_vars_t stp_minimum_settings (void);
	
	#ifdef __cplusplus
	  }
	#endif
	
	#endif /* __GIMP_PRINT_H__ */
	/*
	 * End of $Id: gimp-print.h.in,v 1.8 2001/11/06 02:44:42 rlk Exp $
	 */

Something later must be doing the appending, but in my case doing it wrong.

However I can't see anything later in the "make configure" output that
touches any file with that name.

I'll install print/gimp-print-lib and retry the ghostscript build.  In
the mean time.....

I hate to do this because of the size, but here's the entire "make
configure" output (you'll note some cosmetic differences in the way my
bsd.pkg.mk prints informative messages):

$ make configure
=> Checksum OK for ghostscript/ghostscript-6.01.tar.bz2.
=> Checksum OK for ghostscript/jpegsrc.v6b.tar.gz.
=> Checksum OK for ghostscript/pdf_sec.ps.
=> Checksum OK for ghostscript/gimp-print-4.2.0.tar.gz.
=> Checksum OK for ghostscript/hpijs-1.0.2.tar.gz.
=> Checksum OK for ghostscript/hpdj-2.6.tar.gz.
=> Checksum OK for ghostscript/dmprt-2.01.tar.gz.
=> Checksum OK for ghostscript/gdev10v.tar.gz.
=> Checksum OK for ghostscript/gdevmjc-0.8.tar.gz.
=> Checksum OK for ghostscript/gdevalps-0.2.tar.gz.
=> Checksum OK for ghostscript/gdevmd2k-0.2a.tar.gz.
=> Checksum OK for ghostscript/gdevlips-2.3.6.tar.gz.
=> Checksum OK for ghostscript/gdevrpdl.tar.gz.
=> Checksum OK for ghostscript/gdevprsc-0.4.tar.gz.
=> Checksum OK for ghostscript/samsung-gdi-driver.tar.gz.
=> Checksum OK for ghostscript/gs6.01-jpdf-exp.patch.gz.
===> Extracting for ghostscript-6.01nb4
===> Required runtime package ghostscript-fonts-6.0 installed OK (need ghostscript-fonts-6.0)
===> Required runtime package watanabe-vfont-19930318 installed OK (need watanabe-vfont-19930318)
===> Required runtime package png-1.2.1 installed OK (need png>=1.2.1)
===> Required runtime package ja-vflib-lib-2.24.2 installed OK (need ja-vflib-lib>=2.24.2)
===> Required runtime package freetype-lib-1.3.1 installed OK (need freetype-lib>=1.3.1)
===> Required build-only package x11-links-0.6 installed OK (need x11-links>=0.6)
===> Required build-only package gmake-3.79.1 installed OK (need gmake>=3.78)
===> Required build-only package m4-1.4 installed OK (need m4>=1.4)
cd /var/package-obj/print/ghostscript/work/gs6.01/src; /bin/pax -rf /var/package-obj/print/ghostscript/work/hpdj-2.6/hpdj.tar
/bin/mv /var/package-obj/print/ghostscript/work/gs6.01/src/gs-hpdj.1 /var/package-obj/print/ghostscript/work/gs6.01/man
cd /var/package-obj/print/ghostscript/work; /bin/cp gdevdmpr.c gdevdmpr.mak    /var/package-obj/print/ghostscript/work/gs6.01/src
cd /var/package-obj/print/ghostscript/work; /bin/cp dviprlib.*                 /var/package-obj/print/ghostscript/work/gs6.01/src
cd /var/package-obj/print/ghostscript/work/gdev10v; /bin/cp gdev10v.c gdev10v.mak       /var/package-obj/print/ghostscript/work/gs6.01/src
cd /var/package-obj/print/ghostscript/work/gdevmjc-0.8; /bin/cp *.[ch] gdevmjc.mak      /var/package-obj/print/ghostscript/work/gs6.01/src
cd /var/package-obj/print/ghostscript/work/gdevlips-2.3.6; /bin/cp *           /var/package-obj/print/ghostscript/work/gs6.01/src
cd /var/package-obj/print/ghostscript/work/gdevrpdl; /bin/cp gdevrpdl.c gdevrpdl.mak    /var/package-obj/print/ghostscript/work/gs6.01/src
cd /var/package-obj/print/ghostscript/work/gdevalps-0.2;  /bin/cp gdevalps.c gdevalps.mak-5.50          /var/package-obj/print/ghostscript/work/gs6.01/src
cd /var/package-obj/print/ghostscript/work/gdevmd2k-0.2a;  /bin/cp gdevmd2k.c gdevmd2k.mak-5.8x         /var/package-obj/print/ghostscript/work/gs6.01/src
cd /var/package-obj/print/ghostscript/work/gdevprsc-0.4;  /bin/cp gdevprsc.c gdevprsc.mak                       /var/package-obj/print/ghostscript/work/gs6.01/src
cd /var/package-obj/print/ghostscript/work; /bin/cp gdevgdi.c                  /var/package-obj/print/ghostscript/work/gs6.01/src
/bin/rm -f /var/package-obj/print/ghostscript/work/gs6.01/jpeg
/bin/ln -s /var/package-obj/print/ghostscript/work/jpeg-6b /var/package-obj/print/ghostscript/work/gs6.01/jpeg
/bin/rm -f /var/package-obj/print/ghostscript/work/gs6.01/lib/pdf_sec.ps
/bin/ln -s /var/package-distfiles/ghostscript/pdf_sec.ps /var/package-obj/print/ghostscript/work/gs6.01/lib/pdf_sec.ps
===> Patching for ghostscript-6.01nb4
===> Applying distribution patches for ghostscript-6.01nb4
===> Applying NetBSD patches for ghostscript-6.01nb4
if [ ! -f /var/package-obj/print/ghostscript/work/dmp_site.ps.bak ]; then       /bin/mv /var/package-obj/print/ghostscript/work/dmp_site.ps /var/package-obj/print/ghostscript/work/dmp_site.ps.bak;     fi
/usr/bin/sed    -e "s|epsimage\.src|/usr/pkg/share/ghostscript/6.01vflib/lib/escp_24.src|g"      /var/package-obj/print/ghostscript/work/dmp_site.ps.bak > /var/package-obj/print/ghostscript/work/dmp_site.ps
===> Configuring for ghostscript-6.01nb4
=> Linking zlib files into /var/package-obj/print/ghostscript/work/.buildlink.
=> Linking png files into /var/package-obj/print/ghostscript/work/.buildlink.
=> Linking gettext files into /var/package-obj/print/ghostscript/work/.buildlink.
=> Linking freetype files into /var/package-obj/print/ghostscript/work/.buildlink.
=> Linking vflib files into /var/package-obj/print/ghostscript/work/.buildlink.
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether /usr/pkg/bin/gmake sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... cc
checking whether the C compiler (cc -I/var/package-obj/print/ghostscript/work/.buildlink/include -O2 -g -DHAVE_MKSTEMP=1 -I/usr/pkg/share/x11-links/include -pipe -L/var/package-obj/print/ghostscript/work/.buildlink/lib  -L/usr/pkg/share/x11-links/lib -Wl,-R/usr/X11R6/lib -Wl,-R/usr/pkg/lib) works... yes
checking whether the C compiler (cc -I/var/package-obj/print/ghostscript/work/.buildlink/include -O2 -g -DHAVE_MKSTEMP=1 -I/usr/pkg/share/x11-links/include -pipe -L/var/package-obj/print/ghostscript/work/.buildlink/lib  -L/usr/pkg/share/x11-links/lib -Wl,-R/usr/X11R6/lib -Wl,-R/usr/pkg/lib) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking how to run the C preprocessor... cc -E
checking for c++... c++
checking whether the C++ compiler (c++  -L/var/package-obj/print/ghostscript/work/.buildlink/lib  -L/usr/pkg/share/x11-links/lib -Wl,-R/usr/X11R6/lib -Wl,-R/usr/pkg/lib) works... yes
checking whether the C++ compiler (c++  -L/var/package-obj/print/ghostscript/work/.buildlink/lib  -L/usr/pkg/share/x11-links/lib -Wl,-R/usr/X11R6/lib -Wl,-R/usr/pkg/lib) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking for a BSD compatible install... /usr/bin/install -c
checking for ANSI C header files... yes
checking for fcntl.h... yes
checking for malloc.h... yes
checking for syslog.h... yes
checking for unistd.h... yes
checking for working const... yes
checking for inline... inline
checking whether byte ordering is bigendian... no
checking which type of build... release
checking for 8-bit clean memcmp... yes
checking for strtod... yes
checking for strtol... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for the presence of the GIMP source tree... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking host system type... i386--netbsdelf
checking whether to build CUPS driver... no
checking whether to build translated CUPS PPD files... yes
checking whether to use level 3 PostScript... no
checking whether to build ghostscript driver... yes
checking whether to build foomatic data files... no
checking whether to turn on debugging in build... no
checking whether to use readline... yes
checking whether to build GIMP plugin... no
checking whether to install sample images... yes
checking whether to install user guide... yes
checking whether to build escputil... yes
checking whether to build libgimpprint... yes
checking whether to build testpattern generator... no
checking whether to build test programs... no
checking if user install is enabled... no
checking for strerror in -lcposix... no
checking for mawk... mawk
checking for gcc... cc
checking whether the C compiler (cc -I/var/package-obj/print/ghostscript/work/.buildlink/include -O2 -g -DHAVE_MKSTEMP=1 -I/usr/pkg/share/x11-links/include -pipe ) works... yes
checking whether the C compiler (cc -I/var/package-obj/print/ghostscript/work/.buildlink/include -O2 -g -DHAVE_MKSTEMP=1 -I/usr/pkg/share/x11-links/include -pipe ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for bison... bison -y
checking how to run the C preprocessor... cc -E
checking for flex... flex
checking for flex... (cached) flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for bison... /usr/pkg/bin/bison
checking for yacc... /usr/bin/yacc
checking for perl... /usr/pkg/bin/perl
checking for convert... no
configure: warning: PostScript user's guide cannot be regenerated!
checking for texi2html... no
configure: warning: HTML documentation cannot be regenerated!
checking for dvips... no
configure: warning: PostScript documentation cannot be regenerated!
checking for db2pdf... no
configure: warning: PDF user's guide cannot be regenerated!
checking for dvipdf... no
checking for dvipdfm... no
configure: warning: PDF documentation cannot be regenerated!
checking for db2ps... no
configure: warning: PostScript user's guide cannot be regenerated!
checking for db2html... no
configure: warning: HTML user's guide cannot be regenerated!
checking for Cygwin environment... no
checking for mingw32 environment... no
checking build system type... i386--netbsdelf
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognise dependant libraries... match_pattern /lib[^/\.]+\.so$
checking for object suffix... o
checking for executable suffix... no
checking command to parse /usr/bin/nm -B output... ok
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.lo... yes
checking if cc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... NetBSD ld.elf_so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... yes
creating libtool
checking for ranlib... (cached) ranlib
checking for ANSI C header files... yes
checking for working const... yes
checking for inline... inline
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... no
checking for alloca... yes
checking for unistd.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether we are using the GNU C Library 2.1 or newer... no
checking for argz.h... no
checking for limits.h... yes
checking for locale.h... yes
checking for nl_types.h... yes
checking for malloc.h... yes
checking for stddef.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for feof_unlocked... no
checking for fgets_unlocked... no
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... no
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for stpcpy... no
checking for strchr... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for __argz_count... no
checking for __argz_stringify... no
checking for __argz_next... no
checking for iconv... no, consider installing GNU libiconv
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for libintl.h... yes
checking for GNU gettext in libc... no
checking for GNU gettext in libintl... yes
checking for dcgettext... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for bison... bison
checking version of bison... 1.28, ok
checking for catalogs to be installed...  en_GB sv no fr da pl
checking for readline in -lreadline... no
checking for readline in -lreadline... no
checking for readline in -lreadline... no
checking for readline in -lreadline... no
checking for pow in -lm... yes
checking for ANSI C header files... (cached) yes
checking for unistd.h... (cached) yes
checking for readline/readline.h... yes
checking for varargs.h... yes
checking for stdarg.h... yes
checking for working const... (cached) yes
checking for inline... (cached) inline
checking for off_t... (cached) yes
checking for size_t... (cached) yes
checking return type of signal handlers... void
checking for working alloca.h... (cached) no
checking for alloca... (cached) yes
checking for poll... yes
checking for xgetcwd... no
checking for xmalloc... no
checking for asprintf... yes
checking for vasprintf... yes
checking for getopt_long... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating doc/Makefile
creating doc/users_guide/Makefile
creating include/Makefile
creating include/gimp-print/Makefile
creating include/gimp-print/gimp-print.h
creating intl/Makefile
creating lib/Makefile
creating man/Makefile
creating man/escputil.1
creating man/gimpprint.3
creating man/gimpprint-config.1
creating po/Makefile.in
creating samples/Makefile
creating src/Makefile
creating src/escputil/Makefile
creating src/gimp/Makefile
creating cups-gimpprint.list
creating man/cups-calibrate.8
creating src/testpattern/Makefile
creating src/cups/Makefile
creating src/foomatic/Makefile
creating test/Makefile
creating src/foomatic/foomatic-generator
creating src/ghost/Makefile
creating src/ghost/contrib.mak.addon
creating src/main/Makefile
creating src/main/gimpprint-config
creating src/printdef/Makefile
creating config.h
creating po/POTFILES
creating po/Makefile
Finished configuring.
Type 'make' to build the package
then 'make install' to install it.
cd . ; sed -e 's/print-printers.c/gdevstp-printers.c/' -e 's/^\#include "\(gimp\-\)*\(.*\)\.h"$/\#include "gdevstp-\2.h"/' -e 's/^\#include <gimp-print\/gimp-print\(.*\)\.h>$/\#include "gdevstp-print\1.h"/' ../main/print-canon.c > gdevstp-canon.c
cd . ; sed -e 's/print-printers.c/gdevstp-printers.c/' -e 's/^\#include "\(gimp\-\)*\(.*\)\.h"$/\#include "gdevstp-\2.h"/' -e 's/^\#include <gimp-print\/gimp-print\(.*\)\.h>$/\#include "gdevstp-print\1.h"/' ../main/print-color.c > gdevstp-color.c
cd . ; sed -e 's/print-printers.c/gdevstp-printers.c/' -e 's/^\#include "\(gimp\-\)*\(.*\)\.h"$/\#include "gdevstp-\2.h"/' -e 's/^\#include <gimp-print\/gimp-print\(.*\)\.h>$/\#include "gdevstp-print\1.h"/' ../main/print-dither.c > gdevstp-dither.c
cd . ; sed -e 's/print-printers.c/gdevstp-printers.c/' -e 's/^\#include "\(gimp\-\)*\(.*\)\.h"$/\#include "gdevstp-\2.h"/' -e 's/^\#include <gimp-print\/gimp-print\(.*\)\.h>$/\#include "gdevstp-print\1.h"/' ../main/print-escp2.c > gdevstp-escp2.c
cd . ; sed -e 's/print-printers.c/gdevstp-printers.c/' -e 's/^\#include "\(gimp\-\)*\(.*\)\.h"$/\#include "gdevstp-\2.h"/' -e 's/^\#include <gimp-print\/gimp-print\(.*\)\.h>$/\#include "gdevstp-print\1.h"/' ../main/print-lexmark.c > gdevstp-lexmark.c
cd . ; sed -e 's/print-printers.c/gdevstp-printers.c/' -e 's/^\#include "\(gimp\-\)*\(.*\)\.h"$/\#include "gdevstp-\2.h"/' -e 's/^\#include <gimp-print\/gimp-print\(.*\)\.h>$/\#include "gdevstp-print\1.h"/' ../main/print-pcl.c > gdevstp-pcl.c
cd ../printdef ; \
/usr/pkg/bin/gmake
gmake[1]: Entering directory `/var/obj/package/print/ghostscript/work/gimp-print-4.2.0/src/printdef'
cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../include -I../../intl  -I/var/package-obj/print/ghostscript/work/.buildlink/include  -I/usr/pkg/share/x11-links/include  -I/var/package-obj/print/ghostscript/work/.buildlink/include -O2 -g -DHAVE_MKSTEMP=1 -I/usr/pkg/share/x11-links/include -pipe -c printdefy.c
printdefy.y:107: warning: static declaration for `yyerror' follows non-static
cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../include -I../../intl  -I/var/package-obj/print/ghostscript/work/.buildlink/include  -I/usr/pkg/share/x11-links/include  -I/var/package-obj/print/ghostscript/work/.buildlink/include -O2 -g -DHAVE_MKSTEMP=1 -I/usr/pkg/share/x11-links/include -pipe -c printdefl.c
/bin/sh ../../libtool --mode=link cc  -I/var/package-obj/print/ghostscript/work/.buildlink/include -O2 -g -DHAVE_MKSTEMP=1 -I/usr/pkg/share/x11-links/include -pipe  -o printdef  printdefl.o printdefy.o  
mkdir .libs
cc -I/var/package-obj/print/ghostscript/work/.buildlink/include -O2 -g -DHAVE_MKSTEMP=1 -I/usr/pkg/share/x11-links/include -pipe -o printdef printdefl.o printdefy.o 
gmake[1]: Leaving directory `/var/obj/package/print/ghostscript/work/gimp-print-4.2.0/src/printdef'
../printdef/printdef < ./../main/printers.xml > ../../src/main/print-printers.c
sed -e 's/print-printers.c/gdevstp-printers.c/' -e 's/^\#include "\(gimp\-\)*\(.*\)\.h"$/\#include "gdevstp-\2.h"/' -e 's/^\#include <gimp-print\/gimp-print\(.*\)\.h>$/\#include "gdevstp-print\1.h"/' ../main/print-printers.c > gdevstp-printers.c
cd . ; sed -e 's/print-printers.c/gdevstp-printers.c/' -e 's/^\#include "\(gimp\-\)*\(.*\)\.h"$/\#include "gdevstp-\2.h"/' -e 's/^\#include <gimp-print\/gimp-print\(.*\)\.h>$/\#include "gdevstp-print\1.h"/' ../main/print-ps.c > gdevstp-ps.c
cd . ; sed -e 's/print-printers.c/gdevstp-printers.c/' -e 's/^\#include "\(gimp\-\)*\(.*\)\.h"$/\#include "gdevstp-\2.h"/' -e 's/^\#include <gimp-print\/gimp-print\(.*\)\.h>$/\#include "gdevstp-print\1.h"/' ../main/print-util.c > gdevstp-util.c
cd . ; sed -e 's/print-printers.c/gdevstp-printers.c/' -e 's/^\#include "\(gimp\-\)*\(.*\)\.h"$/\#include "gdevstp-\2.h"/' -e 's/^\#include <gimp-print\/gimp-print\(.*\)\.h>$/\#include "gdevstp-print\1.h"/' ../main/print-weave.c > gdevstp-weave.c
cd . ; sed -e 's/print-printers.c/gdevstp-printers.c/' -e 's/^\#include "\(gimp\-\)*\(.*\)\.h"$/\#include "gdevstp-\2.h"/' -e 's/^\#include <gimp-print\/gimp-print\(.*\)\.h>$/\#include "gdevstp-print\1.h"/' ../main/print-dither-matrices.c > gdevstp-dither-matrices.c
sed -e 's/print-printers.c/gdevstp-printers.c/' -e 's/^\#include "\(gimp\-\)*\(.*\)\.h"$/\#include "gdevstp-\2.h"/' -e 's/^\#include <gimp-print\/gimp-print\(.*\)\.h>$/\#include "gdevstp-print\1.h"/' ../../include/gimp-print/gimp-print.h > ./gdevstp-print.h
sed -e 's/print-printers.c/gdevstp-printers.c/' -e 's/^\#include "\(gimp\-\)*\(.*\)\.h"$/\#include "gdevstp-\2.h"/' -e 's/^\#include <gimp-print\/gimp-print\(.*\)\.h>$/\#include "gdevstp-print\1.h"/' ../../src/main/gimp-print-internal.h > ./gdevstp-print-internal.h
sed -e 's/print-printers.c/gdevstp-printers.c/' -e 's/^\#include "\(gimp\-\)*\(.*\)\.h"$/\#include "gdevstp-\2.h"/' -e 's/^\#include <gimp-print\/gimp-print\(.*\)\.h>$/\#include "gdevstp-print\1.h"/' ../../include/gimp-print/gimp-print-intl-internal.h > ./gdevstp-print-intl-internal.h
cd . ; sed -e 's/print-printers.c/gdevstp-printers.c/' -e 's/^\#include "\(gimp\-\)*\(.*\)\.h"$/\#include "gdevstp-\2.h"/' -e 's/^\#include <gimp-print\/gimp-print\(.*\)\.h>$/\#include "gdevstp-print\1.h"/' ../main/quickmatrix257.h > gdevstp-quickmatrix257.h
cd . ; sed -e 's/print-printers.c/gdevstp-printers.c/' -e 's/^\#include "\(gimp\-\)*\(.*\)\.h"$/\#include "gdevstp-\2.h"/' -e 's/^\#include <gimp-print\/gimp-print\(.*\)\.h>$/\#include "gdevstp-print\1.h"/' ../main/ran.367.179.h > gdevstp-ran.367.179.h
cd . ; sed -e 's/print-printers.c/gdevstp-printers.c/' -e 's/^\#include "\(gimp\-\)*\(.*\)\.h"$/\#include "gdevstp-\2.h"/' -e 's/^\#include <gimp-print\/gimp-print\(.*\)\.h>$/\#include "gdevstp-print\1.h"/' ../main/ran.509.131.h > gdevstp-ran.509.131.h
#
# Append build rules for extra drivers to contrib.mak
#
/bin/cat        /var/package-obj/print/ghostscript/work/gs6.01/src/contrib.mak-5.94.add                  /var/package-obj/print/ghostscript/work/gs6.01/src/gdevlips.mak                                 /var/package-obj/print/ghostscript/work/gs6.01/src/gdev10v.mak                          /var/package-obj/print/ghostscript/work/gs6.01/src/gdevmjc.mak                          /var/package-obj/print/ghostscript/work/gs6.01/src/gdevrpdl.mak                                 /var/package-obj/print/ghostscript/work/gs6.01/src/gdevdmpr.mak                        /var/package-obj/print/ghostscript/work/gs6.01/src/gdevalps.mak-5.50            /var/package-obj/print/ghostscript/work/gs6.01/src/gdevmd2k.mak-5.8x            /var/package-obj/print/ghostscript/work/gs6.01/src/gdevprsc.mak                 >> /var/package-obj/print/ghostscript/work/gs6.01/src/contrib.mak
#
# Prepend device list to unix-gcc.mak
#
( if [ -n "x11.dev" ]; then                      echo 'DEVICE_DEVS=     $(DD)x11.dev';   echo '';                                                fi;            /bin/cat /work/woods/m-NetBSD-pkgsrc/print/ghostscript/../../print/ghostscript-nox11/files/devs.nox11 /work/woods/m-NetBSD-pkgsrc/print/ghostscript/../../print/ghostscript-nox11/files/devs.x11 /var/package-obj/print/ghostscript/work/gs6.01/src/unix-gcc.mak                 ) > /var/package-obj/print/ghostscript/work/unix-gcc.mak
/bin/mv -f /var/package-obj/print/ghostscript/work/unix-gcc.mak /var/package-obj/print/ghostscript/work/gs6.01/src
=> Removing rpath references to buildlink directories.


-- 
								Greg A. Woods

+1 416 218-0098;  <gwoods@acm.org>;  <g.a.woods@ieee.org>;  <woods@robohack.ca>
Planix, Inc. <woods@planix.com>; VE3TCP; Secrets of the Weird <woods@weird.com>