diff options
Diffstat (limited to 'print/ghostscript/patches/patch-af')
-rw-r--r-- | print/ghostscript/patches/patch-af | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/print/ghostscript/patches/patch-af b/print/ghostscript/patches/patch-af deleted file mode 100644 index 00a59f21a4b..00000000000 --- a/print/ghostscript/patches/patch-af +++ /dev/null @@ -1,51 +0,0 @@ -$NetBSD: patch-af,v 1.8 2012/10/10 02:18:25 mef Exp $ - -(From the log for revision 1.4 of print/ghostscript/patches/patch-af) -date: 2008/11/13 17:36:54; author: chuck; state: Exp; lines: +22 -4 -ghostscript has hand-rolled shared lib handling in src/unix-dll.mak -that does not do the right thing on Darwin (where shared libs are -created with different linking flags and use dylib rather than so -as an extension). - -You need to manually reconfigure unix-dll.mak to make it work, so -do it in hacks.mk. - -XXX: this still leaves the issue of libgs.so (et al.) being hardwired -in PLIST, instead of using libgs.dylib (et al.). i'm not sure of -the best way to fix that. at least it compiles now.... - ---- base/unix-dll.mak.orig 2012-08-08 17:01:36.000000000 +0900 -+++ base/unix-dll.mak 2012-10-10 10:03:50.000000000 +0900 -@@ -59,13 +59,12 @@ - - - # MacOS X --#GS_SOEXT=dylib --#GS_SONAME=$(GS_SONAME_BASE).$(GS_SOEXT) --#GS_SONAME_MAJOR=$(GS_SONAME_BASE).$(GS_VERSION_MAJOR).$(GS_SOEXT) --#GS_SONAME_MAJOR_MINOR=$(GS_SONAME_BASE).$(GS_VERSION_MAJOR).$(GS_VERSION_MINOR).$(GS_SOEXT) -+#Darwin#GS_SOEXT=dylib -+#Darwin#GS_SONAME=$(GS_SONAME_BASE).$(GS_SOEXT) -+#Darwin#GS_SONAME_MAJOR=$(GS_SONAME_BASE).$(GS_VERSION_MAJOR).$(GS_SOEXT) -+#Darwin#GS_SONAME_MAJOR_MINOR=$(GS_SONAME_BASE).$(GS_VERSION_MAJOR).$(GS_VERSION_MINOR).$(GS_SOEXT) - #LDFLAGS_SO=-dynamiclib -flat_namespace --LDFLAGS_SO_MAC=-dynamiclib -install_name $(GS_SONAME_MAJOR_MINOR) --#LDFLAGS_SO=-dynamiclib -install_name $(FRAMEWORK_NAME) -+#Darwin#LDFLAGS_SO=-dynamiclib -install_name $(DESTDIR)$(libdir)/$(GS_SONAME_MAJOR) - - GS_SO=$(BINDIR)/$(GS_SONAME) - GS_SO_MAJOR=$(BINDIR)/$(GS_SONAME_MAJOR) -@@ -86,11 +85,11 @@ - # Build the small Ghostscript loaders, with Gtk+ and without - $(GSSOC_XE): $(GS_SO) $(PSSRC)$(SOC_LOADER) - $(GLCC) -g -o $(GSSOC_XE) $(PSSRC)dxmainc.c \ -- -L$(BINDIR) -l$(GS) -+ -L$(BINDIR) -Wl,-R$(PREFIX)/lib -l$(GS) - - $(GSSOX_XE): $(GS_SO) $(PSSRC)$(SOC_LOADER) - $(GLCC) -g $(SOC_CFLAGS) -o $(GSSOX_XE) $(PSSRC)$(SOC_LOADER) \ -- -L$(BINDIR) -l$(GS) $(SOC_LIBS) -+ -L$(BINDIR) -l$(GS) -Wl,-R$(PREFIX)/lib -l$(GS) $(SOC_LIBS) - - # ------------------------- Recursive make targets ------------------------- # - |