problems compiling expect

Anti fearow at comcast.net
Sat Aug 9 20:30:54 PDT 2003


On Sat, 9 Aug 2003 12:31:00 -0700 (PDT)
Oliver Crow <ocrow at simplexity.net> wrote:

> 
> I'm having problems building the lang/expect port.
> 
> I'm running 4.8-RELEASE-p1.  The PORTVERSION is 5.38.0.  I cvsup'd
> ports today.
> 
> I do a 'make distclean' and a 'make -DWITHOUT_X11', and get this error:



yes, this does not compile with WITHOUT_X11 defined, you can copy the
attached patch into /usr/ports/lang/expect/files and it will work.


-------------- next part --------------
--- configure.old	Sun Jul  6 18:11:37 2003
+++ configure	Sun Jul  6 18:11:13 2003
@@ -6434,10 +6434,10 @@
 
 if test x"$no_tk" = x"true" ; then
   eval "EXP_CC_SEARCH_FLAGS=\"$TCL_CC_SEARCH_FLAGS\""
-  EXP_LD_SEARCH_FLAGS=${TCL_LD_SEARCH_FLAGS}
+  EXP_LD_SEARCH_FLAGS=${TCL_CC_SEARCH_FLAGS}
 else
   eval "EXP_CC_SEARCH_FLAGS=\"$TK_CC_SEARCH_FLAGS\""
-  EXP_LD_SEARCH_FLAGS=${TK_LD_SEARCH_FLAGS}
+  EXP_LD_SEARCH_FLAGS=${TK_CC_SEARCH_FLAGS}
 fi
 
 # now broken out into EXP_AND_TCL_LIBS and EXP_AND_TK_LIBS.  Had to do this


More information about the freebsd-ports mailing list