[113512] trunk/dports/graphics/libQGLViewer/Portfile
raphael at macports.org
raphael at macports.org
Mon Nov 18 09:58:39 PST 2013
Revision: 113512
https://trac.macports.org/changeset/113512
Author: raphael at macports.org
Date: 2013-11-18 09:58:39 -0800 (Mon, 18 Nov 2013)
Log Message:
-----------
libQGLViewer: prevent the examples from linking with an already installed version of libQGLViewer; fixes #41382
Modified Paths:
--------------
trunk/dports/graphics/libQGLViewer/Portfile
Modified: trunk/dports/graphics/libQGLViewer/Portfile
===================================================================
--- trunk/dports/graphics/libQGLViewer/Portfile 2013-11-18 17:58:11 UTC (rev 113511)
+++ trunk/dports/graphics/libQGLViewer/Portfile 2013-11-18 17:58:39 UTC (rev 113512)
@@ -46,6 +46,10 @@
system -W ${worksrcpath} "sh ${filespath}/archflags.sh [get_canonical_archflags]"
}
+# prevent the examples from linking with an already installed version of libQGLViewer (#41382)
+configure.cppflags-delete -I/opt/local/include
+configure.ldflags-delete -L/opt/local/lib
+
# clear all arch-oriented flags since they mess up LDFLAGS in Makefiles (#41359)
configure.ld_archflags
configure.cc_archflags
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131118/9c50420c/attachment.html>
More information about the macports-changes
mailing list