[36998] trunk/dports/games/openmortal/Portfile
simon at macports.org
simon at macports.org
Thu May 22 09:13:19 PDT 2008
Revision: 36998
http://trac.macosforge.org/projects/macports/changeset/36998
Author: simon at macports.org
Date: 2008-05-22 09:13:10 -0700 (Thu, 22 May 2008)
Log Message:
-----------
games/openmortal: Fixed patches, closes #15268. Thanks to dstwo at princeton.edu.
Modified Paths:
--------------
trunk/dports/games/openmortal/Portfile
Modified: trunk/dports/games/openmortal/Portfile
===================================================================
--- trunk/dports/games/openmortal/Portfile 2008-05-22 15:47:11 UTC (rev 36997)
+++ trunk/dports/games/openmortal/Portfile 2008-05-22 16:13:10 UTC (rev 36998)
@@ -30,6 +30,11 @@
bin:perl:perl5.8
platform darwin {
+ pre-patch {
+ # Convert files from DOS to UNIX linefeeds before patching.
+ reinplace "s/\r$//g" \
+ ${worksrcpath}/src/gfx.cpp
+ }
patchfiles patch-gfx.cpp.diff \
patch-sge_tt_text.cpp.diff
post-destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080522/709f1f3f/attachment.htm
More information about the macports-changes
mailing list