Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Oct 2001 14:12:07 -0700
From:      Andrew Stuart <elitetek@tekrealm.net>
To:        freebsd-ports@freebsd.org
Subject:   Vim6 needs pthreads
Message-ID:  <20011005141207.A85318@freebsd.tekrealm.net>

next in thread | raw e-mail | index | archive | help
On Vim6, with x3 it errors out from pthreads.

heres my slight patch to correct. There may be a better way, but
this seems to work fine without breaking anything.

any input would be great.

--- Makefile.orig       Fri Oct  5 13:45:39 2001
+++ Makefile    Fri Oct  5 13:48:59 2001
@@ -38,6 +38,7 @@
 WRKSRC=
${WRKDIR}/vim${PORTVERSION:C/\.[0-9]*$//:S/.//g}/src
 PATCH_DIST_ARGS=       -d
${WRKDIR}/${PORTNAME}${PORTVERSION:C/\.[0-9]*$//:S/.//g} --forward
--quiet -E ${PATCH_DIST_STRIP}
 MAKE_ARGS+=    CONF_ARGS="--prefix=${PREFIX} --with-tlib=termlib"
+MAKE_ENV+=      CFLAGS="${PTHREAD_CFLAGS}" LDFLAGS="${PTHREAD_LIBS}"
 ALL_TARGET=    #
 PLIST_SUB=     VIM_VER=${DISTNAME:S/-//:S/.//}
 MAN1=          evim.1 vim.1 vimdiff.1 vimtutor.1 xxd.1

-- 
Andrew

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011005141207.A85318>