[65061] trunk/dports/devel/geany

ryandesign at macports.org ryandesign at macports.org
Sat Mar 20 10:58:21 PDT 2010


Revision: 65061
          http://trac.macports.org/changeset/65061
Author:   ryandesign at macports.org
Date:     2010-03-20 10:58:18 -0700 (Sat, 20 Mar 2010)
Log Message:
-----------
geany: fix configure failure when configure.cxx is the full path to the C++ compiler (which it always is); see #24071

Modified Paths:
--------------
    trunk/dports/devel/geany/Portfile

Added Paths:
-----------
    trunk/dports/devel/geany/files/
    trunk/dports/devel/geany/files/patch-configure.in.diff

Modified: trunk/dports/devel/geany/Portfile
===================================================================
--- trunk/dports/devel/geany/Portfile	2010-03-20 16:54:21 UTC (rev 65060)
+++ trunk/dports/devel/geany/Portfile	2010-03-20 17:58:18 UTC (rev 65061)
@@ -27,6 +27,8 @@
                 sha1    cb039ac4c6fe3738afb8d0aa9f4ddb024eebb084 \
                 rmd160  56df2c2d41d4dce73d4ecc849e50b3ad4b3a85a8
 
+patchfiles      patch-configure.in.diff
+
 post-patch {
     reinplace "s|libvte\\.so|${prefix}/lib/libvte.dylib|g" \
         ${worksrcpath}/src/vte.c
@@ -41,3 +43,5 @@
     lib/libgdk_pixbuf-2.0.dylib \
     lib/libintl.dylib \
     lib/libvte.dylib
+
+use_autoconf    yes

Added: trunk/dports/devel/geany/files/patch-configure.in.diff
===================================================================
--- trunk/dports/devel/geany/files/patch-configure.in.diff	                        (rev 0)
+++ trunk/dports/devel/geany/files/patch-configure.in.diff	2010-03-20 17:58:18 UTC (rev 65061)
@@ -0,0 +1,17 @@
+--- configure.in.orig	2010-02-14 04:41:44.000000000 -0600
++++ configure.in	2010-03-20 12:42:40.000000000 -0500
+@@ -15,11 +15,14 @@
+ AC_PROG_CXX
+ # check for C++ compiler explicitly and fail if none is found, do this check
+ # after AC_PROG_CXX has set the CXX environment variable
++if ! test -x "${CXX}"
++then
+ AC_PATH_PROG([CXXCOMPILER], [$CXX])
+ if ! test -x "${CXXCOMPILER}"
+ then
+ 	AC_MSG_ERROR([No C++ compiler found. Please install a C++ compiler.])
+ fi
++fi
+ 
+ #AC_PROG_RANLIB
+ AC_PROG_INSTALL
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100320/ed292a7f/attachment.html>


More information about the macports-changes mailing list