From owner-freebsd-ports@FreeBSD.ORG Mon Sep 13 14:42:40 2010 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F16A3106566C for ; Mon, 13 Sep 2010 14:42:39 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7F24B8FC08 for ; Mon, 13 Sep 2010 14:42:39 +0000 (UTC) Received: by bwz20 with SMTP id 20so145577bwz.13 for ; Mon, 13 Sep 2010 07:42:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=pQTRNWaL7o8fWUg2Lpe3a7rSF31OUIUBuQKp/2IQN/k=; b=kYb8J2VXPo9BfDmvOY1YlpGgE+LEIpI/EC4zGRpYeZ0L9O98ZdS2sPvKBuV02Nflox GBR6OVx+Q9kt0lZqEmovKzdjpkNlBuY16aEFxV57TH19nU/fG7zGTt1j5VKosPC9Tync NE8rRmNsUVL9Yj9rbRDsCdrqcgbgxBxz1Mxxo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=up+wJbxJ4EiRsxKRzhGIJwyGrEVwHGqQfW+zhbOGm2KkG27sN6lRjsCkXtOdp6uJ2l x4owCPGutxMsUNMpam4EESedHjLPX3WwwVWVkRIppo09vDYvKOEM/GnEIXcwPWLmv9OC jcr5guO0NVrnad6J2VwdwczHr/Hb/H8jP27FE= MIME-Version: 1.0 Received: by 10.204.141.16 with SMTP id k16mr3160794bku.177.1284387339032; Mon, 13 Sep 2010 07:15:39 -0700 (PDT) Received: by 10.204.80.167 with HTTP; Mon, 13 Sep 2010 07:15:38 -0700 (PDT) In-Reply-To: <20100909173840.GA32701@dragon.NUXI.org> References: <20100909173840.GA32701@dragon.NUXI.org> Date: Mon, 13 Sep 2010 16:15:38 +0200 Message-ID: From: David DEMELIER To: obrien@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: ports@freebsd.org Subject: Re: [PATCH] enable MAKE_JOBS_SAFE for Vim build X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Sep 2010 14:42:40 -0000 2010/9/9 David O'Brien : > This patch allows me to build Vim in parallel. > > Give it a try if you're interested. =C2=A0Please let me know if you are > UNABLE to build with this patch applied. > [I only need to know of failures, thanks.] > > -- > -- David =C2=A0(obrien@FreeBSD.org) > > Index: Makefile > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > RCS file: /home/pcvs/ports/editors/vim/Makefile,v > retrieving revision 1.356 > diff -u -p -r1.356 Makefile > --- Makefile =C2=A0 =C2=A09 Sep 2010 06:06:28 -0000 =C2=A0 =C2=A0 =C2=A0 = 1.356 > +++ Makefile =C2=A0 =C2=A09 Sep 2010 07:48:48 -0000 > @@ -39,7 +39,7 @@ SLAVEDIRS=3D =C2=A0 =C2=A0editors/vim-lite > =C2=A0.endif > > =C2=A0CONFLICTS=3D =C2=A0 =C2=A0 vim6* vim*-lite > -MAKE_JOBS_UNSAFE=3D yes > +MAKE_JOBS_SAFE=3D =C2=A0 =C2=A0 =C2=A0 =C2=A0yes > =C2=A0USE_BZIP2=3D =C2=A0 =C2=A0 yes > =C2=A0DIST_SUBDIR=3D =C2=A0 vim > =C2=A0WRKSRC=3D =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0${= WRKDIR}/vim${PORTVERSION:C/\.[0-9]*$//:S/.//g}/src > @@ -195,6 +195,9 @@ post-patch: > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0${REINPLACE_CMD} -= e 's,ctags -R \.,${CTAGS_CMD},g') > > =C2=A0pre-configure: > + =C2=A0 =C2=A0 =C2=A0 # Fix dependency misspelling so that 'make -j#' wi= ll work. > + =C2=A0 =C2=A0 =C2=A0 @${REINPLACE_CMD} -e 's|\./auto/osdef\.h|auto/osde= f.h|g' \ > + =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ${WRKSRC}/Makefile > =C2=A0 =C2=A0 =C2=A0 =C2=A0@(cd ${WRKSRC} ; ${MAKE} distclean) > =C2=A0 =C2=A0 =C2=A0 =C2=A0@${REINPLACE_CMD} -e ' \ > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0s|\$$gtk_config_pr= efix/bin/gtk-config|\$${GTK_CONFIG}|g; \ > @@ -207,6 +210,9 @@ pre-configure: > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0${WRKSRC}/feature.= h > =C2=A0.endif > > +post-configure: > + =C2=A0 =C2=A0 =C2=A0 @(cd ${WRKSRC} ; ${MAKE} scratch config) > + > =C2=A0# =C2=A0 =C2=A0 =C2=A0Clean up junk files to keep them from being i= nstalled. > =C2=A0pre-install: > =C2=A0 =C2=A0 =C2=A0 =C2=A0@${FIND} ${WRKSRC:H} -type f -name '*.orig' -d= elete > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > Here it works, just missing real OPTIONS framework and this port will be perfect :-). Kind regards, --=20 Demelier David