Revision
100783
Author
g5pw@macports.org
Date
2012-12-24 03:51:51 -0800 (Mon, 24 Dec 2012)

Log Message

textproc/wordnet:
  fix compilation with tcl/tk 8.6

Modified Paths

Diff

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
 }