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

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Fri Apr 1 15:37:51 CEST 2011


Revision: 14042
          http://gar.svn.sourceforge.net/gar/?rev=14042&view=rev
Author:   dmichelsen
Date:     2011-04-01 13:37:51 +0000 (Fri, 01 Apr 2011)

Log Message:
-----------
perl: Remove unused stuff and replace conditional by assignment for consistency

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

Modified: csw/mgar/pkg/perl/trunk/Makefile
===================================================================
--- csw/mgar/pkg/perl/trunk/Makefile	2011-04-01 09:23:48 UTC (rev 14041)
+++ csw/mgar/pkg/perl/trunk/Makefile	2011-04-01 13:37:51 UTC (rev 14042)
@@ -17,6 +17,7 @@
 
 DISTFILES  = $(NAME)-$(VERSION).tar.gz
 
+# Make extra Solaris 10 package with DTrace support
 PACKAGING_PLATFORMS  = solaris9-sparc solaris9-i386
 PACKAGING_PLATFORMS += solaris10-sparc solaris10-i386
 
@@ -44,10 +45,6 @@
 
 DISTFILES += $(foreach N,$(CORE_UPDATES),$(N).tar.gz)
 
-# Dependencies
-#LIBDEPS += bdb48/lib
-LIBDEPS += lib/gdbm
-
 # Custom configure
 CONFIGURE_SCRIPTS = perl
 
@@ -88,9 +85,8 @@
 CONFIGURE_ARGS += -Dusethreads
 
 # When built on Solaris 10, enable DTrace support
-ifeq ($(shell uname -r), 5.10)
-  CONFIGURE_ARGS += -Dusedtrace
-endif
+EXTRA_CONFIGURE_ARGS-5.10 = -Dusedtrace
+CONFIGURE_ARGS += $(EXTRA_CONFIGURE_ARGS-$(GAROSREL))
 
 CONFIGURE_ARGS += -Dvendorarch=$(libdir)/perl/csw
 CONFIGURE_ARGS += -Dvendorlib=$(datadir)/perl/csw


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