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

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Sun Jan 22 15:05:24 CET 2012


Revision: 16874
          http://gar.svn.sourceforge.net/gar/?rev=16874&view=rev
Author:   bdwalton
Date:     2012-01-22 14:05:23 +0000 (Sun, 22 Jan 2012)
Log Message:
-----------
php5/trunk: tweak a few build options

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

Modified: csw/mgar/pkg/php5/trunk/Makefile
===================================================================
--- csw/mgar/pkg/php5/trunk/Makefile	2012-01-21 22:58:05 UTC (rev 16873)
+++ csw/mgar/pkg/php5/trunk/Makefile	2012-01-22 14:05:23 UTC (rev 16874)
@@ -33,7 +33,7 @@
 
 VENDOR_URL     = http://www.php.net/
 MASTER_SITES   = http://us.php.net/distributions/
-INSTALL_ENV   += INSTALL_ROOT=$(DESTDIR)
+EXTRA_INSTALL_ENV   = INSTALL_ROOT=$(DESTDIR)
 
 LICENSE = LICENSE
 
@@ -215,9 +215,14 @@
 EXTRA_CFLAGS = -I$(prefix)/include/ncursesw
 EXTRA_LIB = /opt/csw/postgresql/lib
 
+# We link with /usr/ccs/bin/ld which requires setting the path to libCstd.so,
+# using CC as linker would have made this automatic.
+SUBDIR64-sparc = v9
+SUBDIR64-i386 = amd64
+EXTRA_LINKER_FLAGS = -L$($(GARCOMPILER)_CC_HOME)/lib/$(SUBDIR$(MEMORYMODEL)-$(GARCH)) -lCstd -lz
+
 NOISALIST = 1
 STRIP_LIBTOOL = 1
-# PACKAGING_PLATFORMS = solaris10-i386
 
 sysconfdir = /etc$(prefix)/php5
 
@@ -321,6 +326,7 @@
 CONFIGURE_ARGS += --with-zlib=$(prefix)
 endif
 
+
 # Disable Tests (report submitted to PHP QA)
 SKIPTEST = 1
 #ENABLE_CHECK = 0

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