[csw-devel] SF.net SVN: gar:[8179] csw/mgar/pkg/gar/trunk/Makefile
wahwah at users.sourceforge.net
wahwah at users.sourceforge.net
Tue Jan 26 10:54:00 CET 2010
Revision: 8179
http://gar.svn.sourceforge.net/gar/?rev=8179&view=rev
Author: wahwah
Date: 2010-01-26 09:54:00 +0000 (Tue, 26 Jan 2010)
Log Message:
-----------
gar: Enabling checkpkg, using svn revision in SPKG_REVSTAMP instead of VERSION.
Modified Paths:
--------------
csw/mgar/pkg/gar/trunk/Makefile
Modified: csw/mgar/pkg/gar/trunk/Makefile
===================================================================
--- csw/mgar/pkg/gar/trunk/Makefile 2010-01-25 16:44:20 UTC (rev 8178)
+++ csw/mgar/pkg/gar/trunk/Makefile 2010-01-26 09:54:00 UTC (rev 8179)
@@ -24,8 +24,6 @@
SPKG_DESC_CSWgar = The GAR package build system
-SPKG_VERSION_CSWgar = $(call _REVISION)
-
CONFIGURE_SCRIPTS =
BUILD_SCRIPTS =
TEST_SCRIPTS =
@@ -37,6 +35,8 @@
include gar/category.mk
+SPKG_REVSTAMP := $(SPKG_REVSTAMP)_rev=$(call _REVISION)
+
install-gar:
@echo " ==> Installing $(GARNAME)"
@@ -45,3 +45,11 @@
ginstall $(WORKSRC)/garit $(DESTDIR)$(bindir)/garit
ginstall -d $(DESTDIR)$(prefix)/src/gar
cd $(WORKSRC) && pax -r -w -v -s ,.*/\.svn.*,, v1 v2 $(DESTDIR)$(prefix)/src/gar
+
+# This is a workaround for builds that are done with umask 0027. There's a
+# problem in which pax does not preserve the access bits.
+post-install-modulated:
+ gfind $(DESTDIR) -type f -perm /u+x -exec chmod a+x,a+r,u+w {} \;
+ gfind $(DESTDIR) -type d -perm /u+x -exec chmod a+x,a+r,u+w {} \;
+ gfind $(DESTDIR) -type f -perm /u+r -exec chmod a+r,u+w {} \;
+ @$(MAKECOOKIE)
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