[csw-devel] SF.net SVN: gar:[5577] csw/mgar/pkg/cpan/ack/trunk
skayser at users.sourceforge.net
skayser at users.sourceforge.net
Wed Jul 15 13:25:12 CEST 2009
Revision: 5577
http://gar.svn.sourceforge.net/gar/?rev=5577&view=rev
Author: skayser
Date: 2009-07-15 11:25:12 +0000 (Wed, 15 Jul 2009)
Log Message:
-----------
ack: force interpreter to /opt/csw/bin/perl
Modified Paths:
--------------
csw/mgar/pkg/cpan/ack/trunk/Makefile
Added Paths:
-----------
csw/mgar/pkg/cpan/ack/trunk/files/changelog.CSW
Modified: csw/mgar/pkg/cpan/ack/trunk/Makefile
===================================================================
--- csw/mgar/pkg/cpan/ack/trunk/Makefile 2009-07-15 10:53:08 UTC (rev 5576)
+++ csw/mgar/pkg/cpan/ack/trunk/Makefile 2009-07-15 11:25:12 UTC (rev 5577)
@@ -18,13 +18,25 @@
include gar/category.mk
+# Make sure ack uses our perl, stock perl version on Sol 8 / 9 bail out
+post-extract-modulated:
+ @perl -pi -e '\
+ s|^#!.*$$|#!/opt/csw/bin/perl| if $$. eq 1;' \
+ $(WORKSRC)/t/*.t
+ @perl -pi -e '\
+ s|/usr/bin/env perl|/opt/csw/bin/perl|' \
+ $(WORKSRC)/squash
+ @$(MAKECOOKIE)
+
+install-custom: DOCDEST = $(DESTDIR)$(docdir)/$(GARNAME)
install-custom:
@ginstall -d $(DESTDIR)$(bindir)
@ginstall -d $(DESTDIR)$(mandir)/man1
- @ginstall -d $(DESTDIR)$(docdir)/$(GARNAME)
+ @ginstall -d $(DOCDEST)
@cp $(WORKSRC)/ack $(DESTDIR)$(bindir)
@pod2man --section=1 $(WORKSRC)/ack > $(DESTDIR)$(mandir)/man1/ack.1
- @cp $(WORKSRC)/Changes $(DESTDIR)$(docdir)/$(GARNAME)/changelog
+ @cp $(WORKSRC)/Changes $(DOCDEST)/changelog
+ @cp $(FILEDIR)/changelog.CSW $(DOCDEST)
@$(MAKECOOKIE)
pre-merge-modulated:
Added: csw/mgar/pkg/cpan/ack/trunk/files/changelog.CSW
===================================================================
--- csw/mgar/pkg/cpan/ack/trunk/files/changelog.CSW (rev 0)
+++ csw/mgar/pkg/cpan/ack/trunk/files/changelog.CSW 2009-07-15 11:25:12 UTC (rev 5577)
@@ -0,0 +1,5 @@
+ack (1.88,REV=2009.07.15)
+
+ * Switched interpreter from /usr/bin/env perl to /opt/csw/bin/perl.
+
+ -- Sebastian Kayser <skayser at opencsw.org> Wed, 15 Jul 2009 13:24:05 +0200
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