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

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Sun Jan 17 22:50:51 CET 2010


Revision: 8056
          http://gar.svn.sourceforge.net/gar/?rev=8056&view=rev
Author:   dmichelsen
Date:     2010-01-17 21:50:50 +0000 (Sun, 17 Jan 2010)

Log Message:
-----------
slang: Do not build legacy 1.4.9 in 64 bit and make sure CFLAGS are passed correctly

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

Modified: csw/mgar/pkg/slang/trunk/Makefile
===================================================================
--- csw/mgar/pkg/slang/trunk/Makefile	2010-01-17 21:35:59 UTC (rev 8055)
+++ csw/mgar/pkg/slang/trunk/Makefile	2010-01-17 21:50:50 UTC (rev 8056)
@@ -5,6 +5,10 @@
 EXTRA_MODULATORS = GARVERSION
 MODULATIONS_GARVERSION = 1.4.9 2.2.2
 
+# The old package didn't contain 64 bit, so don't bother building it for compat
+SKIP_MODULATIONS  = isa-sparcv9-garversion-1.4.9
+SKIP_MODULATIONS += isa-amd64-garversion-1.4.9
+
 DESCRIPTION = Library primarily to provide an alternative to libcurses
 define BLURB
 endef
@@ -38,6 +42,13 @@
 INSTALL_ARGS_GARVERSION-1.4.9 = install-elf install-links
 INSTALL_ARGS = $(INSTALL_ARGS_GARVERSION-$(GARVERSION))
 
+BUILD_ARGS_GARVERSION-1.4.9 = elf
+BUILD_ARGS = $(BUILD_ARGS_GARVERSION-$(GARVERSION))
+
+BUILD_OVERRIDE_VARS_GARVERSION-1.4.9 = ELF_CFLAGS
+BUILD_OVERRIDE_VARS = $(BUILD_OVERRIDE_VARS_GARVERSION-$(GARVERSION))
+BUILD_OVERRIDE_VAR_ELF_CFLAGS = -K pic $(CFLAGS)
+
 MERGE_SCRIPTS_isa-default-garversion-1.4.9 = copy-only
 MERGE_DIRS_isa-default-garversion-1.4.9 = $(libdir)
 MERGE_SCRIPTS_isa-default64-garversion-1.4.9 = copy-relocated-only


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