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

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Wed Mar 9 04:15:20 CET 2011


Revision: 13702
          http://gar.svn.sourceforge.net/gar/?rev=13702&view=rev
Author:   wahwah
Date:     2011-03-09 03:15:19 +0000 (Wed, 09 Mar 2011)

Log Message:
-----------
file: Enabling patches with RPATH

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

Modified: csw/mgar/pkg/file/trunk/Makefile
===================================================================
--- csw/mgar/pkg/file/trunk/Makefile	2011-03-09 02:42:18 UTC (rev 13701)
+++ csw/mgar/pkg/file/trunk/Makefile	2011-03-09 03:15:19 UTC (rev 13702)
@@ -20,6 +20,9 @@
 # These flags are not understood by Sun Studio
 CONFIGURE_ARGS += --disable-warnings
 TEST_TARGET = check
+
+PATCHFILES += 0001-libtool-dir-used-for-linking.patch 
+PATCHFILES += 0002-CSW-runpath.patch
 # PATCHFILES += 0001-Remove-surplus-flags-output-on-SPARC.patch
 
 NOISAEXEC = 1
@@ -42,7 +45,6 @@
 # ARCHALL_CSWpy-libmagic = 1
 RUNTIME_DEP_PKGS_CSWpy-libmagic += CSWpython
 RUNTIME_DEP_PKGS_CSWpy-libmagic += CSWlibmagic1
-CHECKPKG_OVERRIDES_CSWpy-libmagic += surplus-dependency|CSWlibmagic1
 
 PACKAGES += CSWlibmagic-data
 CATALOGNAME_CSWlibmagic-data = libmagic_data
@@ -88,7 +90,7 @@
 
 post-install-modulated:
 	(cd $(WORKSRC)/python && \
-		python setup.py install --root=$(DESTDIR) --prefix=$(prefix))
+		$(BUILD_ENV) python setup.py install --root=$(DESTDIR) --prefix=$(prefix))
 	(cd $(DESTDIR) && \
 		mv $(DESTDIR)$(bindir)/file $(DESTDIR)$(bindir)/gfile && \
 		mv $(DESTDIR)$(mandir)/man1/file\.1 $(DESTDIR)$(mandir)/man1/gfile\.1)


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