[csw-devel] SF.net SVN: gar:[10826] csw/mgar/pkg/sed/trunk/Makefile
bdwalton at users.sourceforge.net
bdwalton at users.sourceforge.net
Sat Aug 28 03:50:26 CEST 2010
Revision: 10826
http://gar.svn.sourceforge.net/gar/?rev=10826&view=rev
Author: bdwalton
Date: 2010-08-28 01:50:26 +0000 (Sat, 28 Aug 2010)
Log Message:
-----------
sed: add gnulinks; move a few lines before the include; use bash for the shell
Modified Paths:
--------------
csw/mgar/pkg/sed/trunk/Makefile
Modified: csw/mgar/pkg/sed/trunk/Makefile
===================================================================
--- csw/mgar/pkg/sed/trunk/Makefile 2010-08-27 23:22:59 UTC (rev 10825)
+++ csw/mgar/pkg/sed/trunk/Makefile 2010-08-28 01:50:26 UTC (rev 10826)
@@ -35,11 +35,23 @@
TEST_TARGET = check
+SHELL = /bin/bash
+
+EXTRA_MERGE_EXCLUDE_FILES = $(sharedstatedir)/.*locale.alias
+EXTRA_MERGE_EXCLUDE_FILES += $(libdir)/charset.alias
+
include gar/category.mk
# Make sure we are using gnu tools (esp. sed)
PATH := /opt/csw/gnu:$(PATH)
-EXTRA_MERGE_EXCLUDE_FILES = $(sharedstatedir)/.*locale.alias
-EXTRA_MERGE_EXCLUDE_FILES += $(libdir)/charset.alias
+post-merge:
+ @(cd $(PKGROOT)$(prefix); \
+ mkdir gnu; cd gnu; \
+ for f in ../bin/g*; do \
+ echo Linking $$f; \
+ base=$$(basename $$f); \
+ gln -s $$f ./$${base/g/}; \
+ done )
+ @$(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