[csw-devel] SF.net SVN: gar:[21694] csw/mgar/pkg/xdg-utils/trunk/Makefile
pfelecan at users.sourceforge.net
pfelecan at users.sourceforge.net
Sat Aug 10 13:26:20 CEST 2013
Revision: 21694
http://gar.svn.sourceforge.net/gar/?rev=21694&view=rev
Author: pfelecan
Date: 2013-08-10 11:26:19 +0000 (Sat, 10 Aug 2013)
Log Message:
-----------
xdg-utils/trunk: use Bash where expected
Modified Paths:
--------------
csw/mgar/pkg/xdg-utils/trunk/Makefile
Modified: csw/mgar/pkg/xdg-utils/trunk/Makefile
===================================================================
--- csw/mgar/pkg/xdg-utils/trunk/Makefile 2013-08-10 09:50:43 UTC (rev 21693)
+++ csw/mgar/pkg/xdg-utils/trunk/Makefile 2013-08-10 11:26:19 UTC (rev 21694)
@@ -35,12 +35,19 @@
include gar/category.mk
-PATH := /opt/csw/gnu:/opt/csw/libexec/flex-2.5.35/bin:$(PATH)
+PATH := /opt/csw/gnu:$(PATH)
-# TODO there is work remaining on specific tests
+# TODO there is work remaining on specific tests; most of them fail as
+# they cannot acces to the X server
test-custom:
-(cd $(WORKSRC)/tests && \
/usr/bin/env -i \
$(CONFIGURE_ENV) \
./testrun -R -C -I)
@$(MAKECOOKIE)
+
+# replace all shebangs sh to bash as that is expected:
+post-install:
+ cd $(DESTDIR)$(bindir) && \
+ gsed -i 's;^#!/bin/sh$$;#!/usr/bin/env bash;' *
+ @$(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