[csw-devel] SF.net SVN: gar:[21566] csw/mgar/pkg/lang-python/python/branches/python-3.3 /Makefile

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Sun Jul 28 17:35:54 CEST 2013


Revision: 21566
          http://gar.svn.sourceforge.net/gar/?rev=21566&view=rev
Author:   wahwah
Date:     2013-07-28 15:35:53 +0000 (Sun, 28 Jul 2013)
Log Message:
-----------
lang-python/python/branches/python-3.3: Use cswcompile since it now supports Python 3.3

Modified Paths:
--------------
    csw/mgar/pkg/lang-python/python/branches/python-3.3/Makefile

Modified: csw/mgar/pkg/lang-python/python/branches/python-3.3/Makefile
===================================================================
--- csw/mgar/pkg/lang-python/python/branches/python-3.3/Makefile	2013-07-28 10:28:58 UTC (rev 21565)
+++ csw/mgar/pkg/lang-python/python/branches/python-3.3/Makefile	2013-07-28 15:35:53 UTC (rev 21566)
@@ -53,10 +53,18 @@
 # Installation paths are defined in:
 # http://hg.python.org/cpython/file/26588b6a39d9/Makefile.pre.in#l114
 # http://wiki.debian.org/Python/MultiArch
-GARFLAVOR = DBG
-BUILD64 = 1
-ISAEXEC = 1
+# GARFLAVOR = DBG
+# BUILD64 = 1
+# ISAEXEC = 1
 
+# There is a file name conflict over libffi.so symlink between libffi package
+# and a gcc-java package.  While it will ultimately belong to libffi_dev, the
+# symlink is currently under a subdirectory.
+# pkgchk -L CSWlibffi-dev
+# (...)
+# /opt/csw/lib/ffi/libffi.so=../libffi.so.5.0.10 s none CSWlibffi-dev
+PREPEND_LINKER_FLAGS += -L$(libdir)/ffi
+
 BASECFLAGS = $(CFLAGS)
 EXTRA_COMMON_EXPORTS = BASECFLAGS
 EXTRA_LINKER_FLAGS = -lsocket -lresolv -lrt
@@ -73,9 +81,10 @@
 # This doesn't work here, as _PYCOMPILE_FILES is not the directory Python uses.
 # PYCOMPILE = 1
 EXTRA_MERGE_EXCLUDE_FILES += .*\.pyo .*\.pyc
+
 # use prototype filters to set the class
-# Do not use 2.6 pycompile for 3.3.
-# PROTOTYPE_FILTER = awk '$$$$3 ~/.*\.py$$$$/ { $$$$2 = "cswpycompile" } { print }'
+# cswpycompile can how handle Python 3 files.
+PROTOTYPE_FILTER = awk '$$$$3 ~/.*\.py$$$$/ { $$$$2 = "cswpycompile" } { print }'
 
 
 PACKAGES  = CSWidle$(CVER)
@@ -215,4 +224,3 @@
 # EXTRA_LINKER_FLAGS += $(libdir)/ffi
 # LDFLAGS += -L$(libdir)/ffi
 
-LINKER_FLAGS := -L$(libdir)/ffi $(LINKER_FLAGS)

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