[66955] trunk/dports/net/bnbt
ryandesign at macports.org
ryandesign at macports.org
Mon Apr 26 15:01:08 PDT 2010
Revision: 66955
http://trac.macports.org/changeset/66955
Author: ryandesign at macports.org
Date: 2010-04-26 15:01:06 -0700 (Mon, 26 Apr 2010)
Log Message:
-----------
bnbt: ensure we're UsingTheRightCompiler
Modified Paths:
--------------
trunk/dports/net/bnbt/Portfile
Added Paths:
-----------
trunk/dports/net/bnbt/files/patch-Makefile
Modified: trunk/dports/net/bnbt/Portfile
===================================================================
--- trunk/dports/net/bnbt/Portfile 2010-04-26 20:47:51 UTC (rev 66954)
+++ trunk/dports/net/bnbt/Portfile 2010-04-26 22:01:06 UTC (rev 66955)
@@ -23,6 +23,17 @@
use_zip yes
checksums md5 2935ffe0f51090a79d5bd76566af3b2b
+post-extract {
+ # CRLF to LF
+ reinplace "s|\r||g" ${worksrcpath}/src/Makefile
+}
+
+patchfiles patch-Makefile
+
+post-patch {
+ reinplace "s|@CXX@|${configure.cxx}|g" ${worksrcpath}/src/Makefile
+}
+
use_configure no
worksrcdir ${name}
Added: trunk/dports/net/bnbt/files/patch-Makefile
===================================================================
--- trunk/dports/net/bnbt/files/patch-Makefile (rev 0)
+++ trunk/dports/net/bnbt/files/patch-Makefile 2010-04-26 22:01:06 UTC (rev 66955)
@@ -0,0 +1,10 @@
+--- src/Makefile.orig 2010-04-26 16:58:20.000000000 -0500
++++ src/Makefile 2010-04-26 16:59:00.000000000 -0500
+@@ -1,6 +1,6 @@
+ SHELL = /bin/sh
+ SYSTEM = $(shell uname)
+-C++ = g++
++C++ = @CXX@
+ DFLAGS =
+ OFLAGS = -O2
+ LFLAGS = -L. -lz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100426/d19ce133/attachment.html>
More information about the macports-changes
mailing list