Revision
98272
Author
hum@macports.org
Date
2012-10-01 05:23:51 -0700 (Mon, 01 Oct 2012)

Log Message

irstlm: install include files at ${prefix}/include/${name} to avoid conflicts with other builds.

Modified Paths

Diff

Modified: trunk/dports/textproc/irstlm/Portfile (98271 => 98272)


--- trunk/dports/textproc/irstlm/Portfile	2012-10-01 12:23:06 UTC (rev 98271)
+++ trunk/dports/textproc/irstlm/Portfile	2012-10-01 12:23:51 UTC (rev 98272)
@@ -5,6 +5,7 @@
 
 name                irstlm
 version             5.80.01
+revision            1
 categories          textproc math
 maintainers         hum openmaintainer
 
@@ -35,6 +36,10 @@
     system -W ${worksrcpath} "sh regenerate-makefiles.sh"
 }
 
+# install include files at ${prefix}/include/${name} to avoid conflicts with other builds.
+# e.g. mosesdecoder
+configure.args      --includedir=${prefix}/include/${name}
+
 compiler.blacklist  clang
 
 post-destroot {