From 8c721fe0135d3e5463354b815f5c2fcc291ead2c Mon Sep 17 00:00:00 2001 From: Stefan Schweizer Date: Mon, 19 Mar 2007 07:34:50 +0000 Subject: [PATCH] fix Package-Manager: portage-2.1.2-r12 --- app-text/ghostscript-esp/Manifest | 8 +- .../files/ghostscript-esp-8.15.1-fPIC.patch | 14 + .../files/gs-8.15.1destdir.patch | 321 ------------------ 3 files changed, 18 insertions(+), 325 deletions(-) create mode 100644 app-text/ghostscript-esp/files/ghostscript-esp-8.15.1-fPIC.patch delete mode 100644 app-text/ghostscript-esp/files/gs-8.15.1destdir.patch diff --git a/app-text/ghostscript-esp/Manifest b/app-text/ghostscript-esp/Manifest index 0687ae9f8f3e..878df62a8165 100644 --- a/app-text/ghostscript-esp/Manifest +++ b/app-text/ghostscript-esp/Manifest @@ -2,6 +2,10 @@ AUX ghostscript-7.05.6.man.patch 1231 RMD160 8da05491113dfcca77da4e37c01651ff54c MD5 fd34b2b7a029f19eab4ba3f69afe295e files/ghostscript-7.05.6.man.patch 1231 RMD160 8da05491113dfcca77da4e37c01651ff54cc86e0 files/ghostscript-7.05.6.man.patch 1231 SHA256 4873defc3d4bee0db4cb6b9e34e481f0de5914aef9a4b7cbf58677b6bfb9d528 files/ghostscript-7.05.6.man.patch 1231 +AUX ghostscript-esp-8.15.1-fPIC.patch 330 RMD160 7b39a1de75c0515a1be6caaa0c0d2dd70ff7ad44 SHA1 f92d40eeb177e8593095168bf29c7ff1a6e97633 SHA256 9672b52472a36c8027bbcb93b3eb9a8acbab32c58365896a9247aa23e198c64a +MD5 44ec74ee3ae85aff060d1f3d95c5234b files/ghostscript-esp-8.15.1-fPIC.patch 330 +RMD160 7b39a1de75c0515a1be6caaa0c0d2dd70ff7ad44 files/ghostscript-esp-8.15.1-fPIC.patch 330 +SHA256 9672b52472a36c8027bbcb93b3eb9a8acbab32c58365896a9247aa23e198c64a files/ghostscript-esp-8.15.1-fPIC.patch 330 AUX ghostscript-esp-8.15.2-FAPIcidfmap.cjk 2216 RMD160 4160694a9e42e286c27ef048be4b160c366a675f SHA1 02afd67e83c2ec4ab185fa6ad1d4f4b304e40be1 SHA256 dfffc1088d3ada1d943ee11ac0ba3c3009c3a3d4082daa9a3e180c1b2aebdb12 MD5 c87a75b63531eb93d95cfbd878179f98 files/ghostscript-esp-8.15.2-FAPIcidfmap.cjk 2216 RMD160 4160694a9e42e286c27ef048be4b160c366a675f files/ghostscript-esp-8.15.2-FAPIcidfmap.cjk 2216 @@ -10,10 +14,6 @@ AUX ghostscript-esp-8.15.2-cidfmap.cjk 1719 RMD160 5eefdefe4f0d1acad18a212c7d7d5 MD5 e155c2977c61ccd043582e8d54b364f3 files/ghostscript-esp-8.15.2-cidfmap.cjk 1719 RMD160 5eefdefe4f0d1acad18a212c7d7d5500725cd2f4 files/ghostscript-esp-8.15.2-cidfmap.cjk 1719 SHA256 de206ce949bcd5590abda3973010e4b0d0983b0ecc483180395d83e52e233406 files/ghostscript-esp-8.15.2-cidfmap.cjk 1719 -AUX gs-8.15.1destdir.patch 13364 RMD160 abc921b811f268540a33703bb25036753b6cbd48 SHA1 7b6e9ef164b9490ba1646ab37c06e0c93f1fba24 SHA256 cff8a27d340a71cb78c5602f4fa219b35a0456187a2244385cb9e183ba1080a2 -MD5 4232a57145c2eafd1d84eabd674190f9 files/gs-8.15.1destdir.patch 13364 -RMD160 abc921b811f268540a33703bb25036753b6cbd48 files/gs-8.15.1destdir.patch 13364 -SHA256 cff8a27d340a71cb78c5602f4fa219b35a0456187a2244385cb9e183ba1080a2 files/gs-8.15.1destdir.patch 13364 AUX gs-fix-gc.patch 5627 RMD160 ac6aee1b2e861b1b09f6fa8648f62ad91d016571 SHA1 4419a2dc6cb253d6013f4ea54ada605e44eb39fe SHA256 ea02e3f1d06757b54608c0bc74918f61b4a87831f901735c14f6e53d47edfc06 MD5 8c6a3d7e8897b4297ef853dbd89e408b files/gs-fix-gc.patch 5627 RMD160 ac6aee1b2e861b1b09f6fa8648f62ad91d016571 files/gs-fix-gc.patch 5627 diff --git a/app-text/ghostscript-esp/files/ghostscript-esp-8.15.1-fPIC.patch b/app-text/ghostscript-esp/files/ghostscript-esp-8.15.1-fPIC.patch new file mode 100644 index 000000000000..e4e0da53bd55 --- /dev/null +++ b/app-text/ghostscript-esp/files/ghostscript-esp-8.15.1-fPIC.patch @@ -0,0 +1,14 @@ +--- src/configure.ac 2005-09-22 19:14:28.000000000 +0200 ++++ src/configure.ac 2006-02-07 21:31:16.000000000 +0100 +@@ -726,9 +726,9 @@ + AC_SUBST(FILES) + + dnl Dynamic device support. +-DYNAMIC_CFLAGS="" ++DYNAMIC_CFLAGS="-fPIC" + DYNAMIC_DEVS="" +-DYNAMIC_FLAGS="" ++DYNAMIC_FLAGS="-fPIC -shared" + DYNAMIC_LDFLAGS="" + DYNAMIC_LIBS="" + diff --git a/app-text/ghostscript-esp/files/gs-8.15.1destdir.patch b/app-text/ghostscript-esp/files/gs-8.15.1destdir.patch deleted file mode 100644 index 8236c46e99ab..000000000000 --- a/app-text/ghostscript-esp/files/gs-8.15.1destdir.patch +++ /dev/null @@ -1,321 +0,0 @@ -diff -urN espgs-8.15.1.orig/addons/addons.mak espgs-8.15.1/addons/addons.mak ---- espgs-8.15.1.orig/addons/addons.mak 2005-08-16 10:07:21.000000000 +0000 -+++ espgs-8.15.1/addons/addons.mak 2005-11-03 11:57:30.000000000 +0000 -@@ -953,9 +953,9 @@ - $(GLCC) $(O_)$@ $(C_) $(JAPSRC)dviprlib.c - - extra-dmprt-install: -- $(INSTALL_DATA) $(JAPSRC)dmp_init.ps $(install_prefix)$(gsdatadir)$(D)lib || exit 1 -- $(INSTALL_DATA) $(JAPSRC)dmp_site.ps $(install_prefix)$(gsdatadir)$(D)lib || exit 1 -- $(INSTALL_DATA) $(JAPSRC)escp_24.src $(install_prefix)$(gsdatadir)$(D)lib || exit 1 -+ $(INSTALL_DATA) $(JAPSRC)dmp_init.ps $(DESTDIR)$(gsdatadir)$(D)lib || exit 1 -+ $(INSTALL_DATA) $(JAPSRC)dmp_site.ps $(DESTDIR)$(gsdatadir)$(D)lib || exit 1 -+ $(INSTALL_DATA) $(JAPSRC)escp_24.src $(DESTDIR)$(gsdatadir)$(D)lib || exit 1 - - - -@@ -1095,7 +1095,7 @@ - - extra-upp-install: - for f in $(ADSRC)uniprint$(D)*.upp; do \ -- $(INSTALL_DATA) $$f $(install_prefix)$(gsdatadir)$(D)lib || exit 1; \ -+ $(INSTALL_DATA) $$f $(DESTDIR)$(gsdatadir)$(D)lib || exit 1; \ - done - - ### ------------ Build/Install special features ------------ ### -diff -urN espgs-8.15.1.orig/pstoraster/cups.mak espgs-8.15.1/pstoraster/cups.mak ---- espgs-8.15.1.orig/pstoraster/cups.mak 2005-02-21 16:17:00.000000000 +0000 -+++ espgs-8.15.1/pstoraster/cups.mak 2005-11-03 11:57:30.000000000 +0000 -@@ -24,9 +24,9 @@ - - cups_= $(GLOBJ)gdevcups.$(OBJ) - --CUPSSERVER= $(install_prefix)`cups-config --serverbin` --CUPSCONFIG= $(install_prefix)`cups-config --serverroot` --CUPSDATA= $(install_prefix)`cups-config --datadir` -+CUPSSERVER= $(DESTDIR)`cups-config --serverbin` -+CUPSCONFIG= $(DESTDIR)`cups-config --serverroot` -+CUPSDATA= $(DESTDIR)`cups-config --datadir` - - $(DD)cups.dev: $(cups_) $(GLD)page.dev - $(ADDMOD) $(DD)cups -lib cupsimage -lib cups -diff -urN espgs-8.15.1.orig/src/all-arch.mak espgs-8.15.1/src/all-arch.mak ---- espgs-8.15.1.orig/src/all-arch.mak 2005-01-23 03:49:47.000000000 +0000 -+++ espgs-8.15.1/src/all-arch.mak 2005-11-03 11:57:30.000000000 +0000 -@@ -298,24 +298,24 @@ - # Remove the old gs binary first, so as to preserve the previous - # gs-x.yy version, if any. - install-binary: -- -$(RM) $(BINDIR)/$(GS) -+ -$(RM) $(DESTDIR)$(BINDIR)/$(GS) - @$(MAKE) $(ARGS) install GS=$(GS) XLIBDIRS=$(XLIBDIRSALL) ; \ - d=`pwd` ; \ - d=`basename $$d` ; \ - d=`echo $$d | sed -e s/gs/gs-/` ; \ -- $(RM) $(BINDIR)/$$d ; \ -- ln $(BINDIR)/$(GS) $(BINDIR)/$$d ; \ -- ls -l $(BINDIR)/$(GS) $(BINDIR)/$$d -+ $(RM) $(DESTDIR)$(BINDIR)/$$d ; \ -+ ln $(DESTDIR)$(BINDIR)/$(GS) $(DESTDIR)$(BINDIR)/$$d ; \ -+ ls -l $(DESTDIR)$(BINDIR)/$(GS) $(DESTDIR)$(BINDIR)/$$d - - install-binary-gnu-readline: -- -$(RM) $(BINDIR)/$(GS) -+ -$(RM) $(DESTDIR)$(BINDIR)/$(GS) - @$(MAKE) $(ARGS) install GS=$(GS) XLIBDIRS=$(XLIBDIRSALL) $(GNU_READLINE_ARGS) ; \ - d=`pwd` ; \ - d=`basename $$d` ; \ - d=`echo $$d | sed -e s/gs/gs-/` ; \ -- $(RM) $(BINDIR)/$$d ; \ -- ln $(BINDIR)/$(GS) $(BINDIR)/$$d ; \ -- ls -l $(BINDIR)/$(GS) $(BINDIR)/$$d -+ $(RM) $(DESTDIR)$(BINDIR)/$$d ; \ -+ ln $(DESTDIR)$(BINDIR)/$(GS) $(DESTDIR)$(BINDIR)/$$d ; \ -+ ls -l $(DESTDIR)$(BINDIR)/$(GS) $(DESTDIR)$(BINDIR)/$$d - - install-fontmap: - @d=`pwd` ; \ -@@ -323,14 +323,14 @@ - d=`echo $$d | sed -e s/gs//` ; \ - if test -f $(GS_SRC_DIR)/Fontmap.new ; \ - then \ -- if test -f $(GS_SHARE_DIR)/$$d/lib/Fontmap.org ; \ -+ if test -f $(DESTDIR)$(GS_SHARE_DIR)/$$d/lib/Fontmap.org ; \ - then \ - true ; \ - else \ -- mv $(GS_SHARE_DIR)/$$d/lib/Fontmap $(GS_SHARE_DIR)/$$d/lib/Fontmap.org ; \ -+ mv $(DESTDIR)$(GS_SHARE_DIR)/$$d/lib/Fontmap $(DESTDIR)$(GS_SHARE_DIR)/$$d/lib/Fontmap.org ; \ - fi ; \ -- $(CP) $(GS_SRC_DIR)/Fontmap.new $(GS_SHARE_DIR)/$$d/lib/Fontmap ; \ -- ls -l $(GS_SHARE_DIR)/$$d/lib/Fontmap* ; \ -+ $(CP) $(GS_SRC_DIR)/Fontmap.new $(DESTDIR)$(GS_SHARE_DIR)/$$d/lib/Fontmap ; \ -+ ls -l $(DESTDIR)$(GS_SHARE_DIR)/$$d/lib/Fontmap* ; \ - fi - - install-pdfsec: -@@ -339,9 +339,9 @@ - d=`echo $$d | sed -e s/gs//` ; \ - if test -f $(GS_SRC_DIR)/lib/pdf_sec.ps ; \ - then \ -- $(MV) $(GS_SHARE_DIR)/$$d/lib/pdf_sec.ps $(GS_SHARE_DIR)/$$d/lib/pdf_sec.ps.org ; \ -- $(CP) lib/pdf_sec.ps $(GS_SHARE_DIR)/$$d/lib/pdf_sec.ps ; \ -- $(CHMOD) 664 $(GS_SHARE_DIR)/$$d/lib/pdf_sec.ps ; \ -+ $(MV) $(DESTDIR)$(GS_SHARE_DIR)/$$d/lib/pdf_sec.ps $(DESTDIR)$(GS_SHARE_DIR)/$$d/lib/pdf_sec.ps.org ; \ -+ $(CP) lib/pdf_sec.ps $(DESTDIR)$(GS_SHARE_DIR)/$$d/lib/pdf_sec.ps ; \ -+ $(CHMOD) 664 $(DESTDIR)$(GS_SHARE_DIR)/$$d/lib/pdf_sec.ps ; \ - fi - - #======================================================================= -diff -urN espgs-8.15.1.orig/src/macos-fw.mak espgs-8.15.1/src/macos-fw.mak ---- espgs-8.15.1.orig/src/macos-fw.mak 2005-01-19 04:08:41.000000000 +0000 -+++ espgs-8.15.1/src/macos-fw.mak 2005-11-03 11:57:30.000000000 +0000 -@@ -103,19 +103,19 @@ - $(MAKE) $(SODEFS) GENOPT='-DDEBUG' CFLAGS='$(CFLAGS_DEBUG) $(CFLAGS_SO) $(GCFLAGS) $(XCFLAGS)' $(GSSOC) $(GSSOX) - - install-so: so -- -mkdir $(prefix) -- -mkdir $(datadir) -- -mkdir $(gsdir) -- -mkdir $(gsdatadir) -- -mkdir $(bindir) -- -mkdir $(libdir) -- $(INSTALL_PROGRAM) $(GSSOC) $(bindir)/$(GSSOC_XENAME) -- $(INSTALL_PROGRAM) $(GSSOX) $(bindir)/$(GSSOX_XENAME) -- $(INSTALL_PROGRAM) $(BINDIR)/$(SOBINRELDIR)/$(GS_SONAME_MAJOR_MINOR) $(libdir)/$(GS_SONAME_MAJOR_MINOR) -- $(RM_) $(libdir)/$(GS_SONAME) -- ln -s $(GS_SONAME_MAJOR_MINOR) $(libdir)/$(GS_SONAME) -- $(RM_) $(libdir)/$(GS_SONAME_MAJOR) -- ln -s $(GS_SONAME_MAJOR_MINOR) $(libdir)/$(GS_SONAME_MAJOR) -+ -mkdir $(DESTDIR)$(prefix) -+ -mkdir $(DESTDIR)$(datadir) -+ -mkdir $(DESTDIR)$(gsdir) -+ -mkdir $(DESTDIR)$(gsdatadir) -+ -mkdir $(DESTDIR)$(bindir) -+ -mkdir $(DESTDIR)$(libdir) -+ $(INSTALL_PROGRAM) $(GSSOC) $(DESTDIR)$(bindir)/$(GSSOC_XENAME) -+ $(INSTALL_PROGRAM) $(GSSOX) $(DESTDIR)$(bindir)/$(GSSOX_XENAME) -+ $(INSTALL_PROGRAM) $(BINDIR)/$(SOBINRELDIR)/$(GS_SONAME_MAJOR_MINOR) $(DESTDIR)$(libdir)/$(GS_SONAME_MAJOR_MINOR) -+ $(RM_) $(DESTDIR)$(libdir)/$(GS_SONAME) -+ ln -s $(GS_SONAME_MAJOR_MINOR) $(DESTDIR)$(libdir)/$(GS_SONAME) -+ $(RM_) $(DESTDIR)$(libdir)/$(GS_SONAME_MAJOR) -+ ln -s $(GS_SONAME_MAJOR_MINOR) $(DESTDIR)$(libdir)/$(GS_SONAME_MAJOR) - - soinstall: install-so install-scripts install-data - -@@ -144,8 +144,8 @@ - cp -r doc $(GS_FRAMEWORK)/Versions/Current - - framework_install : framework -- rm -rf $(prefix) -- cp -r $(GS_FRAMEWORK) $(prefix) -+ rm -rf $(DESTDIR)$(prefix) -+ cp -r $(GS_FRAMEWORK) $(DESTDIR)$(prefix) - - # Make the build directories - SODIRS: STDDIRS -diff -urN espgs-8.15.1.orig/src/unix-dll.mak espgs-8.15.1/src/unix-dll.mak ---- espgs-8.15.1.orig/src/unix-dll.mak 2005-01-19 04:08:41.000000000 +0000 -+++ espgs-8.15.1/src/unix-dll.mak 2005-11-03 11:57:30.000000000 +0000 -@@ -96,19 +96,19 @@ - $(MAKE) $(SODEFS) GENOPT='-DDEBUG' CFLAGS='$(CFLAGS_DEBUG) $(CFLAGS_SO) $(GCFLAGS) $(XCFLAGS)' $(GSSOC) $(GSSOX) - - install-so: so -- -mkdir -p $(prefix) -- -mkdir -p $(datadir) -- -mkdir -p $(gsdir) -- -mkdir -p $(gsdatadir) -- -mkdir -p $(bindir) -- -mkdir -p $(libdir) -- $(INSTALL_PROGRAM) $(GSSOC) $(bindir)/$(GSSOC_XENAME) -- $(INSTALL_PROGRAM) $(GSSOX) $(bindir)/$(GSSOX_XENAME) -- $(INSTALL_PROGRAM) $(BINDIR)/$(SOBINRELDIR)/$(GS_SONAME_MAJOR_MINOR) $(libdir)/$(GS_SONAME_MAJOR_MINOR) -- $(RM_) $(libdir)/$(GS_SONAME) -- ln -s $(GS_SONAME_MAJOR_MINOR) $(libdir)/$(GS_SONAME) -- $(RM_) $(libdir)/$(GS_SONAME_MAJOR) -- ln -s $(GS_SONAME_MAJOR_MINOR) $(libdir)/$(GS_SONAME_MAJOR) -+ -mkdir -p $(DESTDIR)$(prefix) -+ -mkdir -p $(DESTDIR)$(datadir) -+ -mkdir -p $(DESTDIR)$(gsdir) -+ -mkdir -p $(DESTDIR)$(gsdatadir) -+ -mkdir -p $(DESTDIR)$(bindir) -+ -mkdir -p $(DESTDIR)$(libdir) -+ $(INSTALL_PROGRAM) $(GSSOC) $(DESTDIR)$(bindir)/$(GSSOC_XENAME) -+ $(INSTALL_PROGRAM) $(GSSOX) $(DESTDIR)$(bindir)/$(GSSOX_XENAME) -+ $(INSTALL_PROGRAM) $(BINDIR)/$(SOBINRELDIR)/$(GS_SONAME_MAJOR_MINOR) $(DESTDIR)$(libdir)/$(GS_SONAME_MAJOR_MINOR) -+ $(RM_) $(DESTDIR)$(libdir)/$(GS_SONAME) -+ ln -s $(GS_SONAME_MAJOR_MINOR) $(DESTDIR)$(libdir)/$(GS_SONAME) -+ $(RM_) $(DESTDIR)$(libdir)/$(GS_SONAME_MAJOR) -+ ln -s $(GS_SONAME_MAJOR_MINOR) $(DESTDIR)$(libdir)/$(GS_SONAME_MAJOR) - - soinstall: install-so install-scripts install-data - -diff -urN espgs-8.15.1.orig/src/unixinst.mak espgs-8.15.1/src/unixinst.mak ---- espgs-8.15.1.orig/src/unixinst.mak 2005-09-22 17:03:45.000000000 +0000 -+++ espgs-8.15.1/src/unixinst.mak 2005-11-03 11:57:30.000000000 +0000 -@@ -28,24 +28,24 @@ - # rules, just in case bindir or scriptdir is a subdirectory of any of these. - - install-exec: STDDIRS $(GS_XE) -- -mkdir -p $(datadir) -- -mkdir -p $(install_prefix)$(gsdir) -- -mkdir -p $(install_prefix)$(gsdatadir) -- -mkdir -p $(bindir) -- $(INSTALL_PROGRAM) $(GS_XE) $(bindir)/$(GS) -+ -mkdir -p $(DESTDIR)$(datadir) -+ -mkdir -p $(DESTDIR)$(gsdir) -+ -mkdir -p $(DESTDIR)$(gsdatadir) -+ -mkdir -p $(DESTDIR)$(bindir) -+ $(INSTALL_PROGRAM) $(GS_XE) $(DESTDIR)$(bindir)/$(GS) - - install-scripts: $(PSLIBDIR)/gsnd -- -mkdir -p $(datadir) -- -mkdir -p $(install_prefix)$(gsdir) -- -mkdir -p $(install_prefix)$(gsdatadir) -- -mkdir -p $(scriptdir) -+ -mkdir -p $(DESTDIR)$(datadir) -+ -mkdir -p $(DESTDIR)$(gsdir) -+ -mkdir -p $(DESTDIR)$(gsdatadir) -+ -mkdir -p $(DESTDIR)$(scriptdir) - $(SH) -c 'for f in \ - gsbj gsdj gsdj500 gslj gslp gsnd \ - bdftops dumphints dvipdf eps2eps font2c \ - pdf2dsc pdf2ps pdfopt pf2afm pfbtopfa printafm \ - ps2ascii ps2epsi ps2pdf ps2pdf12 ps2pdf13 ps2pdf14 ps2pdfwr ps2ps wftopfa \ - fixmswrd.pl lprsetup.sh pj-gs.sh pv.sh sysvlp.sh unix-lpr.sh ;\ -- do if ( test -f $(PSLIBDIR)/$$f ); then $(INSTALL_PROGRAM) $(PSLIBDIR)/$$f $(scriptdir); fi;\ -+ do if ( test -f $(PSLIBDIR)/$$f ); then $(INSTALL_PROGRAM) $(PSLIBDIR)/$$f $(DESTDIR)$(scriptdir); fi;\ - done' - - PSRESDIR=$(PSLIBDIR)/../Resource -@@ -59,10 +59,10 @@ - # one file from each subdirectory just as a sanity check. - - install-libdata: -- -mkdir -p $(datadir) -- -mkdir -p $(install_prefix)$(gsdir) -- -mkdir -p $(install_prefix)$(gsdatadir) -- -mkdir -p $(install_prefix)$(gsdatadir)/lib -+ -mkdir -p $(DESTDIR)$(datadir) -+ -mkdir -p $(DESTDIR)$(gsdir) -+ -mkdir -p $(DESTDIR)$(gsdatadir) -+ -mkdir -p $(DESTDIR)$(gsdatadir)/lib - $(SH) -c 'for f in \ - Fontmap Fontmap.GS cidfmap \ - FAPIcidfmap FAPIconfig FAPIfontmap xlatmap \ -@@ -80,24 +80,24 @@ - winmaps.ps wftopfa.ps wrfont.ps zeroline.ps \ - pdf2dsc.ps pdfopt.ps \ - dmp_init.ps dmp_site.ps gdevmjc.ps escp_24.src ;\ -- do if ( test -f $(PSLIBDIR)/$$f ); then $(INSTALL_DATA) $(PSLIBDIR)/$$f $(install_prefix)$(gsdatadir)/lib; fi;\ -+ do if ( test -f $(PSLIBDIR)/$$f ); then $(INSTALL_DATA) $(PSLIBDIR)/$$f $(DESTDIR)$(gsdatadir)/lib; fi;\ - done' - $(SH) -c 'for f in $(PSLIBDIR)/gs_*.ps $(PSLIBDIR)/pdf*.ps;\ -- do $(INSTALL_DATA) $$f $(install_prefix)$(gsdatadir)/lib ;\ -+ do $(INSTALL_DATA) $$f $(DESTDIR)$(gsdatadir)/lib ;\ - done' - $(SH) -c 'for f in $(PSLIBDIR)/*.ppd $(PSLIBDIR)/*.rpd $(PSLIBDIR)/*.upp $(PSLIBDIR)/*.xbm $(PSLIBDIR)/*.xpm;\ -- do $(INSTALL_DATA) $$f $(install_prefix)$(gsdatadir)/lib ;\ -+ do $(INSTALL_DATA) $$f $(DESTDIR)$(gsdatadir)/lib ;\ - done' - - # install the default resource files - # copy in every category (directory) but CVS - RES_CATEGORIES=`ls $(PSRESDIR) | grep -v CVS` - install-resdata: $(PSRESDIR)/Decoding/Unicode -- -mkdir -p $(datadir) -- -mkdir -p $(install_prefix)$(gsdir) -- -mkdir -p $(install_prefix)$(gsdatadir)/Resource -+ -mkdir -p $(DESTDIR)$(datadir) -+ -mkdir -p $(DESTDIR)$(gsdir) -+ -mkdir -p $(DESTDIR)$(gsdatadir)/Resource - $(SH) -c 'for dir in $(RES_CATEGORIES); do \ -- rdir=$(install_prefix)$(gsdatadir)/Resource/$$dir ; \ -+ rdir=$(DESTDIR)$(gsdatadir)/Resource/$$dir ; \ - test -d $$rdir || mkdir -p $$rdir ; \ - for file in $(PSRESDIR)/$$dir/*; do \ - if test -f $$file; then $(INSTALL_DATA) $$file $$rdir ; fi \ -@@ -118,9 +118,9 @@ - Psfiles.htm Public.htm Readme.htm Release.htm \ - Source.htm Tester.htm Unix-lpr.htm Use.htm Xfonts.htm - install-doc: $(PSDOCDIR)/News.htm -- -mkdir -p $(install_prefix)$(docdir) -+ -mkdir -p $(DESTDIR)$(docdir) - $(SH) -c 'for f in $(DOC_PAGES) ;\ -- do if ( test -f $(PSDOCDIR)/$$f ); then $(INSTALL_DATA) $(PSDOCDIR)/$$f $(install_prefix)$(docdir); fi;\ -+ do if ( test -f $(PSDOCDIR)/$$f ); then $(INSTALL_DATA) $(PSDOCDIR)/$$f $(DESTDIR)$(docdir); fi;\ - done' - - # install the man pages for each locale -@@ -129,9 +129,9 @@ - MAN1_LINKS_PS2PDF=ps2pdf12 ps2pdf13 - MAN1_LINKS_GSLP=gsbj gsdj gsdj500 gslj - install-man: $(PSMANDIR)/gs.1 -- $(SH) -c 'test -d $(mandir) || mkdir -p $(mandir)' -+ $(SH) -c 'test -d $(DESTDIR)$(mandir) || mkdir -p $(DESTDIR)$(mandir)' - $(SH) -c 'for d in $(MAN_LCDIRS) ;\ -- do man1dir=$(mandir)/$$d/man$(man1ext) ;\ -+ do man1dir=$(DESTDIR)$(mandir)/$$d/man$(man1ext) ;\ - ( test -d $$man1dir || mkdir -p $$man1dir ) ;\ - for f in $(PSMANDIR)/$$d/*.1 ;\ - do $(INSTALL_DATA) $$f $$man1dir ;\ -@@ -158,15 +158,15 @@ - - # install the example files - install-examples: -- -mkdir -p $(install_prefix)$(exdir) -+ -mkdir -p $(DESTDIR)$(exdir) - for f in \ - alphabet.ps colorcir.ps doretree.ps escher.ps \ - golfer.eps grayalph.ps snowflak.ps tiger.eps vasarely.ps waterfal.ps \ - ridt91.eps ;\ -- do $(INSTALL_DATA) $(PSEXDIR)/$$f $(install_prefix)$(exdir) ;\ -+ do $(INSTALL_DATA) $(PSEXDIR)/$$f $(DESTDIR)$(exdir) ;\ - done - - install-shared: $(GS_SHARED_OBJS) -- -mkdir -p $(gssharedir) -+ -mkdir -p $(DESTDIR)$(gssharedir) - $(SH) -c 'echo $(GS_SHARED_OBJS) | while read obj ; do \ -- test -z $$obj || $(INSTALL_PROGRAM) $$obj $(gssharedir)/; done' -+ test -z $$obj || $(INSTALL_PROGRAM) $$obj $(DESTDIR)$(gssharedir)/; done' -- 2.26.2