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

valholla at users.sourceforge.net valholla at users.sourceforge.net
Thu Feb 19 02:53:04 CET 2009


Revision: 3241
          http://gar.svn.sourceforge.net/gar/?rev=3241&view=rev
Author:   valholla
Date:     2009-02-19 01:53:04 +0000 (Thu, 19 Feb 2009)

Log Message:
-----------
Add CSWsunmath as dependency and -lsunmath to linker

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

Modified: csw/mgar/pkg/gd/trunk/Makefile
===================================================================
--- csw/mgar/pkg/gd/trunk/Makefile	2009-02-18 23:11:14 UTC (rev 3240)
+++ csw/mgar/pkg/gd/trunk/Makefile	2009-02-19 01:53:04 UTC (rev 3241)
@@ -18,13 +18,16 @@
 SPKG_DESC_CSWgd-devel = Development headers and libraries for gd
 
 REQUIRED_PKGS_CSWgd  = CSWexpat CSWfconfig CSWftype2 CSWiconv 
-REQUIRED_PKGS_CSWgd += CSWjpeg CSWpng CSWxpm CSWzlib
+REQUIRED_PKGS_CSWgd += CSWjpeg CSWpng CSWxpm CSWzlib CSWsunmath
 REQUIRED_PKGS_CSWgd-devel = CSWgd
 PKGFILES_CSWgd-devel = $( PKGFILES_DEVEL)
 
 # We define upstream file regex so we can be notifed of new upstream software release
 UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.bz2
 
+## fix link bug for php_gd undefined symbols
+EXTRA_LINKER_FLAGS += -lsunmath
+
 CONFIGURE_ARGS  = $(DIRPATHS)
 CONFIGURE_ARGS += --with-libiconv-prefix=$(prefix)
 CONFIGURE_ARGS += --with-png=$(prefix)


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