Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/games
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv7542

Modified Files:
        angband.info 
Log Message:
fix install when coreutils is present

Index: angband.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/stable/main/finkinfo/games/angband.info,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- angband.info        10 Sep 2013 15:26:04 -0000      1.8
+++ angband.info        10 Sep 2013 18:31:06 -0000      1.9
@@ -46,9 +46,13 @@
 <<
 Suggests: lua
 PatchScript: <<
+       #!/bin/sh -ev
        perl -pi -e 's,-export-dynamic,,g' configure src/Makefile.std
        ### make seems to have problems finding install-sh in deep directories, 
so give it a base directory
-       perl -pi -e 's,MKDIR_P \= \@,MKDIR_P = \$\(MKPATH\)/\@,g' mk/extra.mk.in
+       ### But the fix fails with gmkdir, so only fix when coreutils is not 
installed
+       if [[ ! -x %p/bin/gmkdir ]]; then
+               perl -pi -e 's,MKDIR_P \= \@,MKDIR_P = \$\(MKPATH\)/\@,g' 
mk/extra.mk.in
+       fi
 <<
 SetLDFLAGS: -liconv -lSDL
 ConfigureParams: <<


------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to