[26772] trunk/dports/devel/boost/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Fri Jul 6 15:10:45 PDT 2007


Revision: 26772
          http://trac.macosforge.org/projects/macports/changeset/26772
Author:   ryandesign at macports.org
Date:     2007-07-06 15:10:45 -0700 (Fri, 06 Jul 2007)

Log Message:
-----------
boost: Restore symlink to includes. Should fix #12110. Thanks to maintainer Sancho McCann.

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

Modified: trunk/dports/devel/boost/Portfile
===================================================================
--- trunk/dports/devel/boost/Portfile	2007-07-06 21:41:49 UTC (rev 26771)
+++ trunk/dports/devel/boost/Portfile	2007-07-06 22:10:45 UTC (rev 26772)
@@ -71,6 +71,11 @@
 
 configure.args		--without-libraries=python --without-icu
 
+post-destroot {
+	set incdirver [join [lrange [split ${version} {.}] 0 1] {_}]
+	system "ln -fs boost-${incdirver}/boost ${destroot}${prefix}/include/boost"
+}
+
 variant python {
 	set pyversion		2.4
 	depends_lib		lib:libpython${pyversion}:python[strsed ${pyversion} {g/[.]//}]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070706/dc266d73/attachment.html


More information about the macports-changes mailing list