Modified: trunk/dports/textproc/wordnet/Portfile (100782 => 100783)
--- trunk/dports/textproc/wordnet/Portfile 2012-12-24 11:51:34 UTC (rev 100782)
+++ trunk/dports/textproc/wordnet/Portfile 2012-12-24 11:51:51 UTC (rev 100783)
@@ -34,7 +34,12 @@
reinplace "s|/usr/local/WordNet-3.0/dict|${prefix}/share/WordNet-3.0/dict|g" ${worksrcpath}/include/wn.h
}
-configure.args --mandir=${prefix}/share/man
+configure.args --mandir=${prefix}/share/man \
+ --with-tcl=${prefix}/lib \
+ --with-tk=${prefix}/lib
+configure.cflags-append \
+ -DUSE_INTERP_RESULT
+
post-configure {
reinplace "s|${prefix}/dict|${prefix}/share/WordNet-3.0/dict|g" ${worksrcpath}/config.h
}