Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Sep 2010 16:15:38 +0200
From:      David DEMELIER <demelier.david@gmail.com>
To:        obrien@freebsd.org
Cc:        ports@freebsd.org
Subject:   Re: [PATCH] enable MAKE_JOBS_SAFE for Vim build
Message-ID:  <AANLkTikt9MPxV2UQLz6AQsZ_Vh%2Bm2%2BYoR4Hc-9Hv8B_C@mail.gmail.com>
In-Reply-To: <20100909173840.GA32701@dragon.NUXI.org>
References:  <20100909173840.GA32701@dragon.NUXI.org>

next in thread | previous in thread | raw e-mail | index | archive | help
2010/9/9 David O'Brien <obrien@freebsd.org>:
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikt9MPxV2UQLz6AQsZ_Vh%2Bm2%2BYoR4Hc-9Hv8B_C>