pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/print/ghostscript-agpl



Module Name:    pkgsrc
Committed By:   adam
Date:           Sun Oct  9 17:15:11 UTC 2016

Modified Files:
        pkgsrc/print/ghostscript-agpl: distinfo
        pkgsrc/print/ghostscript-agpl/patches: patch-af patch-ah

Log Message:
Restore linking on Darwin.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/print/ghostscript-agpl/distinfo
cvs rdiff -u -r1.7 -r1.8 pkgsrc/print/ghostscript-agpl/patches/patch-af
cvs rdiff -u -r1.3 -r1.4 pkgsrc/print/ghostscript-agpl/patches/patch-ah

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/print/ghostscript-agpl/distinfo
diff -u pkgsrc/print/ghostscript-agpl/distinfo:1.13 pkgsrc/print/ghostscript-agpl/distinfo:1.14
--- pkgsrc/print/ghostscript-agpl/distinfo:1.13 Fri Sep 30 12:37:31 2016
+++ pkgsrc/print/ghostscript-agpl/distinfo      Sun Oct  9 17:15:11 2016
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.13 2016/09/30 12:37:31 wiz Exp $
+$NetBSD: distinfo,v 1.14 2016/10/09 17:15:11 adam Exp $
 
 SHA1 (ghostscript-9.20.tar.gz) = ed724edec652757be25e84420f3ebd17ed70e1a5
 RMD160 (ghostscript-9.20.tar.gz) = ab84774fb80746e7b5bb23dcc94e3a5aadd62c15
 SHA512 (ghostscript-9.20.tar.gz) = 6c9d4f669a43192119cfe1a3d8070f3024fe08ebbbc1aa906781a71d9c08c87e0b3a215e01cdf33be671bdb7400bb641b5a65d45e1b15f8c5ccaaae202fa774c
 Size (ghostscript-9.20.tar.gz) = 36080631 bytes
-SHA1 (patch-af) = 70358e9271b64690e89556568a1456edf42c5ebb
-SHA1 (patch-ah) = 360c1dcf3ee100b4639fbd8f774ce8eb9b6a7add
+SHA1 (patch-af) = 60ddeee9eaf0b87a3132a722035fe94d8bd24af8
+SHA1 (patch-ah) = ad56479bdfd22444feeb579e7e8b3fbb350c1f1a
 SHA1 (patch-ai) = 427504a85cc08e49c18d607b434febe65c9880a2
 SHA1 (patch-base_gserrors_h) = ce75cfb7528871842a3bd35e18a6d91c89823909
 SHA1 (patch-devices_devs.mak) = ceb89a4d50765e146c0f3199c31b2c053bf2be09

Index: pkgsrc/print/ghostscript-agpl/patches/patch-af
diff -u pkgsrc/print/ghostscript-agpl/patches/patch-af:1.7 pkgsrc/print/ghostscript-agpl/patches/patch-af:1.8
--- pkgsrc/print/ghostscript-agpl/patches/patch-af:1.7  Fri Sep 30 12:37:31 2016
+++ pkgsrc/print/ghostscript-agpl/patches/patch-af      Sun Oct  9 17:15:11 2016
@@ -1,9 +1,25 @@
-$NetBSD: patch-af,v 1.7 2016/09/30 12:37:31 wiz Exp $
+$NetBSD: patch-af,v 1.8 2016/10/09 17:15:11 adam Exp $
 
+Use correct shared library naming on Darwin.
 Add some rpaths.
 
 --- base/unix-dll.mak.orig     2016-09-26 10:41:28.000000000 +0000
 +++ base/unix-dll.mak
+@@ -91,10 +91,10 @@ GPDL_SONAME_MAJOR_MINOR=$(GPDL_SONAME_BA
+ 
+ 
+ # 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)
 @@ -171,11 +171,11 @@ gpdl-so-links-subtarget: $(GPDL_SO) $(UN
  # Build the small Ghostscript loaders, with Gtk+ and without
  $(GSSOC_XE): gs-so-links-subtarget $(PSSRC)$(SOC_LOADER) $(UNIX_DLL_MAK) $(MAKEDIRS)

Index: pkgsrc/print/ghostscript-agpl/patches/patch-ah
diff -u pkgsrc/print/ghostscript-agpl/patches/patch-ah:1.3 pkgsrc/print/ghostscript-agpl/patches/patch-ah:1.4
--- pkgsrc/print/ghostscript-agpl/patches/patch-ah:1.3  Fri Sep 30 12:37:31 2016
+++ pkgsrc/print/ghostscript-agpl/patches/patch-ah      Sun Oct  9 17:15:11 2016
@@ -1,10 +1,11 @@
-$NetBSD: patch-ah,v 1.3 2016/09/30 12:37:31 wiz Exp $
+$NetBSD: patch-ah,v 1.4 2016/10/09 17:15:11 adam Exp $
 
 Add rpath.
+Use correct install_name with path on Darwin.
 
---- configure.orig     2012-08-08 17:04:57.000000000 +0900
+--- configure.orig     2016-09-26 10:41:58.000000000 +0000
 +++ configure
-@@ -5524,7 +5524,7 @@
+@@ -6297,7 +6297,7 @@ fi
  fi
  
  if test x$with_libpaper != xno; then
@@ -13,3 +14,16 @@ Add rpath.
  
  $as_echo "#define USE_LIBPAPER 1" >>confdefs.h
  
+@@ -9427,9 +9427,9 @@ case `uname` in
+           SO_LIB_EXT=".so"
+         ;;
+         Darwin*)
+-          GS_DYNAMIC_LDFLAGS="-dynamiclib -install_name \$(GS_SONAME_MAJOR_MINOR)"
+-          PCL_DYNAMIC_LDFLAGS="-dynamiclib -install_name \$(PCL_SONAME_MAJOR_MINOR)"
+-          XPS_DYNAMIC_LDFLAGS="-dynamiclib -install_name \$(XPS_SONAME_MAJOR_MINOR)"
++          GS_DYNAMIC_LDFLAGS="-dynamiclib -install_name \$(DESTDIR)\$(libdir)/\$(GS_SONAME_MAJOR_MINOR)"
++          PCL_DYNAMIC_LDFLAGS="-dynamiclib -install_name \$(DESTDIR)\$(libdir)/\$(PCL_SONAME_MAJOR_MINOR)"
++          XPS_DYNAMIC_LDFLAGS="-dynamiclib -install_name \$(DESTDIR)\$(libdir)/\$(XPS_SONAME_MAJOR_MINOR)"
+           DYNAMIC_LIBS=""
+           SO_LIB_EXT=".dylib"
+         ;;



Home | Main Index | Thread Index | Old Index