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

chninkel at users.sourceforge.net chninkel at users.sourceforge.net
Sat Dec 13 19:14:37 CET 2008


Revision: 2572
          http://gar.svn.sourceforge.net/gar/?rev=2572&view=rev
Author:   chninkel
Date:     2008-12-13 18:14:37 +0000 (Sat, 13 Dec 2008)

Log Message:
-----------
openssl: moved striplib in post-install

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

Modified: csw/mgar/pkg/openssl/trunk/Makefile
===================================================================
--- csw/mgar/pkg/openssl/trunk/Makefile	2008-12-13 13:42:03 UTC (rev 2571)
+++ csw/mgar/pkg/openssl/trunk/Makefile	2008-12-13 18:14:37 UTC (rev 2572)
@@ -96,9 +96,10 @@
 
 # we remove every debug information except symbol table
 # (should rather be done in the gar scripts)
-striplib:
-	chmod -R u+w $(PKGROOT)$(libdir)
-	find $(PKGROOT)$(libdir) -name "*.so*" -exec strip -x '{}' ';'
+post-install-modulated:
+	echo " ==> Stripping libraries"
+	chmod -R u+w $(DESTDIR)$(libdir)
+	find $(DESTDIR)$(libdir) -name "*.so*" -exec strip -x '{}' ';'
 
 install-changelog:
 	ginstall -D $(WORKROOTDIR)/build-$(firstword $(MODULATIONS))/changelog.CSW $(SPKG_PKGBASE)/changelog.CSW
@@ -114,8 +115,8 @@
 
 install-oldlibs: $(addprefix install-oldlibs-,$(OLDLIBS))
 install-oldlibs-%:
-	echo " ==> Installing old libraries $* from archive oldlibs.$*-$(GARCH).tar.gz"; \
-	cd $(PKGROOT) && gunzip -c $(CURDIR)/$(FILEDIR)/oldlibs.$*-$(GARCH).tar.gz | tar xvf - && \
+	@echo " ==> Installing old libraries $* from archive oldlibs.$*-$(GARCH).tar.gz"
+	cd $(PKGROOT) && gunzip -c $(CURDIR)/$(FILEDIR)/oldlibs.$*-$(GARCH).tar.gz | tar xvf -
 	@$(MAKECOOKIE)
 
-post-merge: striplib install-certs install-oldlibs install-changelog
+post-merge: install-certs install-oldlibs install-changelog


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