[csw-devel] SF.net SVN: gar:[16494] csw/mgar/pkg/libfpx/trunk/Makefile
dmichelsen at users.sourceforge.net
dmichelsen at users.sourceforge.net
Wed Dec 14 00:19:01 CET 2011
Revision: 16494
http://gar.svn.sourceforge.net/gar/?rev=16494&view=rev
Author: dmichelsen
Date: 2011-12-13 23:19:00 +0000 (Tue, 13 Dec 2011)
Log Message:
-----------
libfpx/trunk: Apply patches from Rafael
Modified Paths:
--------------
csw/mgar/pkg/libfpx/trunk/Makefile
Modified: csw/mgar/pkg/libfpx/trunk/Makefile
===================================================================
--- csw/mgar/pkg/libfpx/trunk/Makefile 2011-12-13 22:47:18 UTC (rev 16493)
+++ csw/mgar/pkg/libfpx/trunk/Makefile 2011-12-13 23:19:00 UTC (rev 16494)
@@ -14,6 +14,9 @@
# PATCHFILES += 0001-Force-one-signature-for-CExposedDocFile-RenameElemen.patch
+PATCHFILES += 0002-Fix-unresolved-symbols-part-1.patch
+PATCHFILES += 0003-Fix-unresolved-symbols-part-2.patch
+
VENDOR_URL = http://www.imagemagick.org
LICENSE = flashpix.h
@@ -37,8 +40,13 @@
# Fix for problem introduced between 12101[7-8]-17 and 12101[7-8]-20
EXTRA_CPPFLAGS += -D_RWSTD_NO_WSTR=1
+COMPILERLIBS-sparc-32 = /opt/SUNWspro/lib
+COMPILERLIBS-sparc-64 = /opt/SUNWspro/lib/v9
+COMPILERLIBS-i386-32 = /opt/SUNWspro/lib
+COMPILERLIBS-i386-64 = /opt/SUNWspro/lib/amd64
+
# Make sure to include path or we link against libCrun.a
-EXTRA_LINKER_FLAGS += -L/opt/SUNWspro/lib -lCrun
+EXTRA_LINKER_FLAGS += -L$(COMPILERLIBS-$(GARCH)-$(MEMORYMODEL)) -lCrun -lCstd
# For sqrt, atan2, pow
EXTRA_LINKER_FLAGS += -lm
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