[97090] users/g5pw/dports/devel/radare2/files/configure.diff

g5pw at macports.org g5pw at macports.org
Mon Aug 27 06:05:47 PDT 2012


Revision: 97090
          https://trac.macports.org/changeset/97090
Author:   g5pw at macports.org
Date:     2012-08-27 06:05:47 -0700 (Mon, 27 Aug 2012)
Log Message:
-----------
devel/radare2:
- Added missing patchfile

Added Paths:
-----------
    users/g5pw/dports/devel/radare2/files/configure.diff

Added: users/g5pw/dports/devel/radare2/files/configure.diff
===================================================================
--- users/g5pw/dports/devel/radare2/files/configure.diff	                        (rev 0)
+++ users/g5pw/dports/devel/radare2/files/configure.diff	2012-08-27 13:05:47 UTC (rev 97090)
@@ -0,0 +1,20 @@
+--- radare2-0.9/configure	2011-12-06 02:24:43.000000000 +0100
++++ radare2-0.9/configure.new	2012-08-27 12:04:23.000000000 +0200
+@@ -299,7 +299,7 @@
+  (command -v ${HOST}-${CC} >/dev/null 2>&1)
+  if [ $? = 0 ]; then CC="${HOST}-${CC}"; fi
+ fi
+-echo "main(){}" > test.c
++echo "int main(){}" > test.c
+  (exec ${CC} ${CFLAGS} ${LDFLAGS} test.c >/dev/null 2>&1)
+ if [ $? = 0 ]; then echo ${CC}; else
+  echo no ; HAVE_LANG_C=0
+@@ -341,7 +341,7 @@
+ _CHKLIB_NAME=$2
+ _CHKLIB_LIBS=$(echo "-l${_CHKLIB_NAME}" | sed 's,\+, -l,g')
+ printf "checking for lib${_CHKLIB_NAME} ... "
+-echo "main(){ }" > test.c
++echo "int main(){ }" > test.c
+ eval ${S}${COMPILER} ${CFLAGS} ${CXXFLAGS} ${LDFLAGS} ${_CHKLIB_LIBS} test.c >/dev/null 2>&1
+ if [ $? = 0 ]; then
+ 	eval ${VAR}=1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120827/086db880/attachment.html>


More information about the macports-changes mailing list