[csw-devel] SF.net SVN: gar:[8415] csw/mgar/pkg/cpan/GD/trunk

bensons at users.sourceforge.net bensons at users.sourceforge.net
Mon Feb 8 16:41:34 CET 2010


Revision: 8415
          http://gar.svn.sourceforge.net/gar/?rev=8415&view=rev
Author:   bensons
Date:     2010-02-08 15:41:34 +0000 (Mon, 08 Feb 2010)

Log Message:
-----------
cpan GD: fixed build, linking against legacy libjpeg62

Modified Paths:
--------------
    csw/mgar/pkg/cpan/GD/trunk/Makefile
    csw/mgar/pkg/cpan/GD/trunk/checksums

Modified: csw/mgar/pkg/cpan/GD/trunk/Makefile
===================================================================
--- csw/mgar/pkg/cpan/GD/trunk/Makefile	2010-02-08 15:33:37 UTC (rev 8414)
+++ csw/mgar/pkg/cpan/GD/trunk/Makefile	2010-02-08 15:41:34 UTC (rev 8415)
@@ -15,7 +15,11 @@
 
 RUNTIME_DEP_PKGS = CSWftype2 CSWgd CSWiconv CSWjpeg CSWpng
 RUNTIME_DEP_PKGS += CSWxpm CSWzlib CSWfconfig
+BUILD_DEP_PKGS = CSWgd
 
+# if we build against libjpeg7, we need to patch one test
+# PATCHFILES = diff-GD.t
+
 CONFIGURE_ARGS  = lib_gd_path $(libdir)
 CONFIGURE_ARGS += lib_ft_path $(libdir)
 CONFIGURE_ARGS += lib_png_path $(libdir)
@@ -27,3 +31,5 @@
 BUILD_OVERRIDE_DIRS = CCFLAGS
 
 include gar/category.mk
+pre-build-modulated:
+	gsed -i'' 's,-ljpeg,/opt/csw/lib/libjpeg.so.62,' $(WORKSRC)/Makefile

Modified: csw/mgar/pkg/cpan/GD/trunk/checksums
===================================================================
--- csw/mgar/pkg/cpan/GD/trunk/checksums	2010-02-08 15:33:37 UTC (rev 8414)
+++ csw/mgar/pkg/cpan/GD/trunk/checksums	2010-02-08 15:41:34 UTC (rev 8415)
@@ -1 +1 @@
-9b9a4d78a5af0616a96264b0aa354859  download/GD-2.44.tar.gz
+9b9a4d78a5af0616a96264b0aa354859  GD-2.44.tar.gz


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