[csw-devel] SF.net SVN: gar:[21191] csw/mgar/pkg/ghostscript/trunk/Makefile

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Fri May 24 17:10:51 CEST 2013


Revision: 21191
          http://gar.svn.sourceforge.net/gar/?rev=21191&view=rev
Author:   dmichelsen
Date:     2013-05-24 15:10:50 +0000 (Fri, 24 May 2013)
Log Message:
-----------
ghostscript/trunk: Cleanup

Modified Paths:
--------------
    csw/mgar/pkg/ghostscript/trunk/Makefile

Modified: csw/mgar/pkg/ghostscript/trunk/Makefile
===================================================================
--- csw/mgar/pkg/ghostscript/trunk/Makefile	2013-05-24 14:37:12 UTC (rev 21190)
+++ csw/mgar/pkg/ghostscript/trunk/Makefile	2013-05-24 15:10:50 UTC (rev 21191)
@@ -81,20 +81,9 @@
 PKGFILES_CSWghostscript-dev += $(PKGFILES_DEVEL)
 RUNTIME_DEP_PKGS_CSWghostscript-dev += CSWlibgs9
 
-# Otherwise we link to the installed libgs.so in /opt/csw/lib which may have an old SONAME
-#LD_OPTIONS =
-#EXTRA_LINKER_FLAGS = $(RUNPATH_LINKER_FLAGS)
-
-# Not until libcupsimage.so libcups.so libkrb5.so libk5crypto.so
-# libcom_err.so libkrb5support.so are 64-bit
-
-# EXTRA_BUILD_ISAS = sparcv8plus+vis pentium_pro+mmx
-
 BUILD64 = 1
 ISAEXEC = 1
 
-EXTRA_CFLAGS += $(LINKER_FLAGS)
-
 CONFIGURE_ARGS  = $(DIRPATHS)
 CONFIGURE_ARGS += --enable-dynamic
 CONFIGURE_ARGS += --with-fontpath=$(datadir)/ghostscript/fonts
@@ -108,13 +97,15 @@
 # We want the shared library
 BUILD_ARGS += so
 
+# This is needed because libidn.so and libpaper.so are not linked with LDFLAGS set
+BUILD_ARGS += XTRALIBS="$(strip $(LINKER_FLAGS))"
+
+TEST_ARGS += XTRALIBS="$(strip $(LINKER_FLAGS))"
+
 INSTALL_ARGS += soinstall
 
 include gar/category.mk
 
-# BUILD_ARGS = std so
-# INSTALL_ARGS = install install-so
-
 post-extract:
 	@# Ghostscript 9.07 depends on API not released in the current lcms2 2.4
 	@#   https://bugzilla.redhat.com/show_bug.cgi?id=912307

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list