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

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Fri Jul 23 16:11:46 CEST 2010


Revision: 10579
          http://gar.svn.sourceforge.net/gar/?rev=10579&view=rev
Author:   dmichelsen
Date:     2010-07-23 14:11:46 +0000 (Fri, 23 Jul 2010)

Log Message:
-----------
cpan/GD: Do not build against CSW X11 any more

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

Modified: csw/mgar/pkg/cpan/GD/trunk/Makefile
===================================================================
--- csw/mgar/pkg/cpan/GD/trunk/Makefile	2010-07-23 12:40:36 UTC (rev 10578)
+++ csw/mgar/pkg/cpan/GD/trunk/Makefile	2010-07-23 14:11:46 UTC (rev 10579)
@@ -20,24 +20,26 @@
 
 LICENSE = LICENSE
 
-DEP_PKGS = CSWftype2 CSWgd CSWiconv CSWjpeg CSWpng
-DEP_PKGS += CSWzlib CSWlibxpm CSWlibx11 CSWfconfig
+RUNTIME_DEP_PKGS = CSWftype2 CSWgd CSWiconv CSWjpeg CSWpng
+RUNTIME_DEP_PKGS += CSWzlib CSWfconfig CSWxpm
 
+BUILD_DEP_PKGS = $(RUNTIME_DEP_PKGS) CSWlibxpmdevel
+
 # These don't actually do anything as the pathes are already confgured
 CONFIGURE_ARGS  = lib_gd_path $(libdir)
 CONFIGURE_ARGS += lib_ft_path $(libdir)
 CONFIGURE_ARGS += lib_png_path $(libdir)
 CONFIGURE_ARGS += lib_jpeg_path $(libdir)
-CONFIGURE_ARGS += lib_xpm_path /usr/openwin/lib
+# This does not work due to different inclusion pathes
+# CONFIGURE_ARGS += lib_xpm_path /usr/openwin/lib
+CONFIGURE_ARGS += lib_xpm_path $(libdir)
 CONFIGURE_ARGS += lib_zlib_path $(libdir)
 
 NOISALIST = 1
-EXTRA_LIB = $(prefix)/X11/lib
 
-BUILD_OVERRIDE_VARS = CCFLAGS LD
+# BUILD_OVERRIDE_VARS = CCFLAGS LD
+BUILD_OVERRIDE_VARS = CCFLAGS
 # Don't use hardcoded -Wformat=0
 BUILD_OVERRIDE_VAR_CCFLAGS =
-# Force hardcode binding to OpenCSW X11
-BUILD_OVERRIDE_VAR_LD = $(CC) -L$(prefix)/X11/lib
 
 include gar/category.mk


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