Date: Fri, 11 Apr 2014 16:31:18 GMT From: Jia-Shiun Li <jiashiun@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/188463: editors/lvim now builds ok without MAKE_JOBS_UNAFE Message-ID: <201404111631.s3BGVI1s019363@cgiserv.freebsd.org> Resent-Message-ID: <201404111640.s3BGe0QB034363@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 188463 >Category: ports >Synopsis: editors/lvim now builds ok without MAKE_JOBS_UNAFE >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Apr 11 16:40:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Jia-Shiun Li >Release: 11.0-CURRENT >Organization: >Environment: jsli@4cbsd:/mnt/doxygen # uname -a FreeBSD 4cbsd 11.0-CURRENT FreeBSD 11.0-CURRENT #30 r264316: Thu Apr 10 23:46:51 CST 2014 jsli@4cbsd:/usr/obj/usr/src/sys/Minimal amd64 >Description: editors/vim was made MAKE_JOBS_UNSAFE in r275776 on Sat Jun 18 14:37:18 2011 UTC due to py_config.o. Reference to py_config was removed in upstream changeset 3707:c03b6363492b [1] on Jul 25, 2012. Now it builds fine without MAKE_JOBS_UNSAFE. jsli@4cbsd:/mnt/doxygen # sysctl kern.smp.cpus hw.model kern.smp.cpus: 4 hw.model: Intel(R) Core(TM) i5-3450 CPU @ 3.10GHz jsli@4cbsd:/mnt/vim # time make -DBATCH MAKE_JOBS_NUMBER=16 .. link.sh: Linked fine 65.279u 10.105s 0:31.21 241.4% 34339+350k 0+505io 0pf+0w jsli@4cbsd:/mnt/vim # [1] https://code.google.com/p/vim/source/detail?r=c03b6363492b26c02b4f8a725a91849a1a5cf548 >How-To-Repeat: >Fix: Remove the line MAKE_JOBS_UNAFE. One-line patch attached. Patch attached with submission follows: diff -bu vim.orig/Makefile vim/Makefile --- vim.orig/Makefile 2014-04-06 00:38:09.000000000 +0800 +++ vim/Makefile 2014-04-12 00:26:03.000000000 +0800 @@ -31,7 +31,6 @@ ALL_TARGET= # empty MAKE_ARGS+= CC=${CC} CONF_ARGS="--prefix=${PREFIX} ${CSCOPE_ARG}" STRIP=${STRIP_CMD} CONF_OPT_MULTIBYTE=--enable-multibyte CONF_TERM_LIB=--with-tlib=termlib -MAKE_JOBS_UNSAFE= yes PATCH_DIST_ARGS=--batch --directory ${WRKSRC} --forward --quiet --remove-empty-files ${PATCH_DIST_STRIP} REINPLACE_ARGS= -i '' USES= iconv pkgconfig shebangfix tar:bzip2 Common subdirectories: vim.orig/files and vim/files >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404111631.s3BGVI1s019363>