[87475] trunk/dports/devel/nodejs/Portfile

jmr at macports.org jmr at macports.org
Wed Nov 23 06:31:03 PST 2011


Revision: 87475
          http://trac.macports.org/changeset/87475
Author:   jmr at macports.org
Date:     2011-11-23 06:31:02 -0800 (Wed, 23 Nov 2011)
Log Message:
-----------
nodejs: avoid using headers from installed ports when internal ones should be used (#28066)

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

Modified: trunk/dports/devel/nodejs/Portfile
===================================================================
--- trunk/dports/devel/nodejs/Portfile	2011-11-23 14:30:27 UTC (rev 87474)
+++ trunk/dports/devel/nodejs/Portfile	2011-11-23 14:31:02 UTC (rev 87475)
@@ -54,18 +54,8 @@
     }
 }
 
-# see tickets #28066, #28562 and #29927
-pre-configure {
-    foreach {badport badfile} "libev ${prefix}/include/ev.h c-ares ${prefix}/include/ares.h libpftputil ${prefix}/include/util.h" {
-        if {[file exists ${badfile}]} {
-            ui_error "${name} cannot be built while ${badport} is active."
-            ui_error "Please deactivate ${badport} and try again."
-            ui_error "You can reactivate ${badport} again later."
-            return -code error "${badport} is installed"
-        }
-    }
-}
-
+# build system doesn't ensure its internal include paths come first (#28066)
+configure.cppflags      -isystem ${prefix}/include
 configure.args          --without-ssl
 
 variant ssl description {Add secure socket layer support} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111123/73be6f4f/attachment.html>


More information about the macports-changes mailing list