[81667] trunk/dports/editors/emacs

dports at macports.org dports at macports.org
Wed Aug 3 13:22:37 PDT 2011


Revision: 81667
          http://trac.macports.org/changeset/81667
Author:   dports at macports.org
Date:     2011-08-03 13:22:35 -0700 (Wed, 03 Aug 2011)
Log Message:
-----------
emacs: patch configure to not search /sw for headers/libs. Of course,
it's not supported to have anything there, but we might as well not
look. (#30581)

Modified Paths:
--------------
    trunk/dports/editors/emacs/Portfile

Added Paths:
-----------
    trunk/dports/editors/emacs/files/patch-configure.diff

Modified: trunk/dports/editors/emacs/Portfile
===================================================================
--- trunk/dports/editors/emacs/Portfile	2011-08-03 18:56:51 UTC (rev 81666)
+++ trunk/dports/editors/emacs/Portfile	2011-08-03 20:22:35 UTC (rev 81667)
@@ -30,8 +30,10 @@
 checksums       rmd160 47104bebe70c509b82fd469bab0dea07e9e10fef \
                 sha256 d5ae4feabb07b796994f96be9fb6cc02dafd7da2589308859f76f878753fea12
 
+patchfiles      patch-configure.diff
+
 # backport a change from the 23.4 branch to fix build w/ Xcode 4 (#28167)
-patchfiles      patch-src_unexmacosx.c.diff
+patchfiles-append   patch-src_unexmacosx.c.diff
 
 configure.args  --without-x \
                 --with-dbus \

Added: trunk/dports/editors/emacs/files/patch-configure.diff
===================================================================
--- trunk/dports/editors/emacs/files/patch-configure.diff	                        (rev 0)
+++ trunk/dports/editors/emacs/files/patch-configure.diff	2011-08-03 20:22:35 UTC (rev 81667)
@@ -0,0 +1,15 @@
+--- configure.orig	2011-08-03 15:04:38.000000000 -0400
++++ configure	2011-08-03 15:05:10.000000000 -0400
+@@ -3165,12 +3165,6 @@
+     opsys=darwin
+     # Define CPP as follows to make autoconf work correctly.
+     CPP="${CC-cc} -E -no-cpp-precomp"
+-    # Use fink packages if available.
+-    if test -d /sw/include && test -d /sw/lib; then
+-      GCC_TEST_OPTIONS="-I/sw/include -L/sw/lib"
+-      CPP="${CPP} ${GCC_TEST_OPTIONS}"
+-      NON_GCC_TEST_OPTIONS=${GCC_TEST_OPTIONS}
+-    fi
+   ;;
+ 
+   ## HP 9000 series 700 and 800, running HP/UX
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110803/4a7e5b86/attachment.html>


More information about the macports-changes mailing list