aboutsummaryrefslogtreecommitdiffstats
path: root/print/ghostscript9
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2014-04-29 00:22:49 +0800
committermat <mat@FreeBSD.org>2014-04-29 00:22:49 +0800
commitd3d59922eb8af74322aef3394c6d0211c100e66f (patch)
treea3004283cf40cc7c8d5ac2d9fc134a9f6f733048 /print/ghostscript9
parent1873b76580ccb51e947621efecd4658fbae1f2eb (diff)
downloadfreebsd-ports-gnome-d3d59922eb8af74322aef3394c6d0211c100e66f.tar.gz
freebsd-ports-gnome-d3d59922eb8af74322aef3394c6d0211c100e66f.tar.zst
freebsd-ports-gnome-d3d59922eb8af74322aef3394c6d0211c100e66f.zip
Fix build as a user, really this time.
PR: 188770 Submitted by: John Hein Sponsored by: Absolight
Diffstat (limited to 'print/ghostscript9')
-rw-r--r--print/ghostscript9/Makefile1
-rw-r--r--print/ghostscript9/files/patch-base-unix-dll.mak13
2 files changed, 13 insertions, 1 deletions
diff --git a/print/ghostscript9/Makefile b/print/ghostscript9/Makefile
index 9f990489aedf..cb628a732164 100644
--- a/print/ghostscript9/Makefile
+++ b/print/ghostscript9/Makefile
@@ -162,7 +162,6 @@ post-install-docs:
( cd ${STAGEDIR}${DOCSDIR} && ${TAR} -xof - )
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/gsc ${STAGEDIR}${PREFIX}/bin/gsx
${LN} -sf gsc ${STAGEDIR}${PREFIX}/bin/gs
${LN} -s -f ${LOCALBASE}/share/fonts/CIDFont \
${STAGEDIR}${DATADIR}/${PORTVERSION}/Resource/CIDFont/fonts
diff --git a/print/ghostscript9/files/patch-base-unix-dll.mak b/print/ghostscript9/files/patch-base-unix-dll.mak
new file mode 100644
index 000000000000..58a428806c59
--- /dev/null
+++ b/print/ghostscript9/files/patch-base-unix-dll.mak
@@ -0,0 +1,13 @@
+--- base/unix-dll.mak.orig 2012-08-08 02:01:36.000000000 -0600
++++ base/unix-dll.mak 2014-04-18 12:12:34.000000000 -0600
+@@ -162,8 +162,8 @@
+ -mkdir -p $(DESTDIR)$(bindir)
+ -mkdir -p $(DESTDIR)$(libdir)
+ -mkdir -p $(DESTDIR)$(gsincludedir)
+- $(INSTALL_PROGRAM) $(GSSOC) $(DESTDIR)$(bindir)/$(GSSOC_XENAME)
+- $(INSTALL_PROGRAM) $(GSSOX) $(DESTDIR)$(bindir)/$(GSSOX_XENAME)
++ $(INSTALL_PROGRAM) -s $(GSSOC) $(DESTDIR)$(bindir)/$(GSSOC_XENAME)
++ $(INSTALL_PROGRAM) -s $(GSSOX) $(DESTDIR)$(bindir)/$(GSSOX_XENAME)
+ $(INSTALL_PROGRAM) $(BINDIR)/$(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)