From owner-svn-ports-head@freebsd.org Mon Jan 9 17:03:39 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4CE29CA7847; Mon, 9 Jan 2017 17:03:39 +0000 (UTC) (envelope-from adamw@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 24AD1158A; Mon, 9 Jan 2017 17:03:39 +0000 (UTC) (envelope-from adamw@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v09H3cTd082913; Mon, 9 Jan 2017 17:03:38 GMT (envelope-from adamw@FreeBSD.org) Received: (from adamw@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v09H3cEE082911; Mon, 9 Jan 2017 17:03:38 GMT (envelope-from adamw@FreeBSD.org) Message-Id: <201701091703.v09H3cEE082911@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: adamw set sender to adamw@FreeBSD.org using -f From: Adam Weinberger Date: Mon, 9 Jan 2017 17:03:38 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r430981 - head/editors/vim X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jan 2017 17:03:39 -0000 Author: adamw Date: Mon Jan 9 17:03:37 2017 New Revision: 430981 URL: https://svnweb.freebsd.org/changeset/ports/430981 Log: Re-add MAKE_JOBS_UNSAFE. From mat: --- scratch --- cp config.mk.dist auto/config.mk --- clean --- make[2]: "/wrkdirs/usr/ports/editors/vim/work/vim-8.0.0149/src/po/Makefile" line 4: Could not find ../auto/config.mk make[2]: Fatal errors encountered -- cannot continue Install desktop files and icons when the GNOME, GTK2, or GTK3 knobs are turned on. Requested by Kevin Zheng. PORTREVISION bump for this. Modified: head/editors/vim/Makefile head/editors/vim/pkg-plist Modified: head/editors/vim/Makefile ============================================================================== --- head/editors/vim/Makefile Mon Jan 9 16:59:43 2017 (r430980) +++ head/editors/vim/Makefile Mon Jan 9 17:03:37 2017 (r430981) @@ -3,6 +3,7 @@ PORTNAME= vim PORTVERSION= 8.0.0149 +PORTREVISION= 1 DISTVERSIONPREFIX= v CATEGORIES= editors @@ -38,6 +39,7 @@ MAKE_ARGS+= VIMRUNTIMEDIR=${PREFIX}/shar MAKE_ARGS+= CONF_OPT_MULTIBYTE=--enable-multibyte CONF_TERM_LIB=--with-tlib=ncurses REINPLACE_ARGS= -i '' USES= cpe iconv ncurses pkgconfig shebangfix +MAKE_JOBS_UNSAFE= yes PLIST_SUB= VIM_VER=${VIM_VER} PORTDATA= ${VIM_VER} @@ -85,32 +87,35 @@ NLS_USES= gettext # UI ATHENA_MAKE_ARGS= CONF_OPT_GUI=--enable-gui=athena -ATHENA_PLIST_SUB= GUI="" +ATHENA_PLIST_SUB= GUI="" DESKTOP="@comment " ATHENA_USE= XORG=ice,sm,x11,xaw,xmu,xpm,xt CONSOLE_MAKE_ARGS= CONF_OPT_GUI="--enable-gui=no --without-x" -CONSOLE_PLIST_SUB= GUI="@comment " +CONSOLE_PLIST_SUB= GUI="@comment " DESKTOP="@comment " GNOME_MAKE_ARGS= CONF_OPT_GUI=--enable-gui=gnome2 -GNOME_PLIST_SUB= GUI="" +GNOME_PLIST_SUB= GUI="" DESKTOP="" GNOME_IMPLIES= NLS GNOME_USE= GNOME=gdkpixbuf2,libgnomeui XORG=ice,sm,glproto,x11,xpm,xt +GNOME_USES= desktop-file-utils GTK2_MAKE_ARGS= CONF_OPT_GUI=--enable-gui=gtk2 -GTK2_PLIST_SUB= GUI="" +GTK2_PLIST_SUB= GUI="" DESKTOP="" GTK2_USE= GNOME=gdkpixbuf2,gtk20 XORG=ice,sm,x11,xpm,xt +GTK2_USES= desktop-file-utils GTK3_MAKE_ARGS= CONF_OPT_GUI=--enable-gui=gtk3 -GTK3_PLIST_SUB= GUI="" +GTK3_PLIST_SUB= GUI="" DESKTOP="" GTK3_USE= GNOME=cairo,gdkpixbuf2,gtk30 XORG=ice,sm,x11,xpm,xt +GTK3_USES= desktop-file-utils MOTIF_MAKE_ARGS= CONF_OPT_GUI='--enable-gui=motif --with-motif-lib="${MOTIFLIB}"' MOTIFHOME=${LOCALBASE} -MOTIF_PLIST_SUB= GUI="" +MOTIF_PLIST_SUB= GUI="" DESKTOP="@comment " MOTIF_USES= motif MOTIF_USE= XORG=ice,sm,x11,xmu,xt X11_MAKE_ARGS= CONF_OPT_GUI="--enable-gui=no --with-x" -X11_PLIST_SUB= GUI="@comment " +X11_PLIST_SUB= GUI="@comment " DESKTOP="@comment " X11_USE= XORG=ice,sm,x11,xt # LANGUAGE BINDINGS @@ -143,7 +148,6 @@ post-extract: post-patch: @${FIND} ${WRKSRC}/ -name 'Makefile' | ${XARGS} ${REINPLACE_CMD} -e 's| $$<| $$>|' - @${REINPLACE_CMD} -e '/^install_normal: / s|install-icons|# &|; /cd $$(DEST_BIN); ln -s/d' ${WRKSRC}/src/Makefile @${REINPLACE_CMD} -e 's|-liconv|${ICONV_LIB}|g' ${WRKSRC}/src/auto/configure @${ECHO_CMD} '#define SYS_VIMRC_FILE "'${ETCDIR}'/vimrc"' >> ${WRKSRC}/src/feature.h @${ECHO_CMD} '#define SYS_GVIMRC_FILE "'${ETCDIR}'/gvimrc"' >> ${WRKSRC}/src/feature.h @@ -170,8 +174,10 @@ post-configure: @${REINPLACE_CMD} -e 's|#define HAVE_SYSINFO 1|/* #undef HAVE_SYSINFO */|' ${WRKSRC}/src/auto/config.h post-install: + @${RM} ${STAGEDIR}${PREFIX}/bin/ex + @${RM} ${STAGEDIR}${PREFIX}/bin/view .for F in eview evim gview gvim gvimdiff rgview rgvim rview rvim vimdiff - ${LN} -s vim ${STAGEDIR}${PREFIX}/bin/$F + ${LN} -sf vim ${STAGEDIR}${PREFIX}/bin/$F .endfor post-install-DEFAULT_VIMRC-on: Modified: head/editors/vim/pkg-plist ============================================================================== --- head/editors/vim/pkg-plist Mon Jan 9 16:59:43 2017 (r430980) +++ head/editors/vim/pkg-plist Mon Jan 9 17:03:37 2017 (r430981) @@ -183,4 +183,9 @@ man/man1/xxd.1.gz %%NON_LITE%%%%NLS%%man/ru.UTF-8/man1/vimdiff.1.gz %%NON_LITE%%%%NLS%%man/ru.UTF-8/man1/vimtutor.1.gz %%NON_LITE%%%%NLS%%man/ru.UTF-8/man1/xxd.1.gz +%%DESKTOP%%%%NON_LITE%%share/applications/gvim.desktop +%%DESKTOP%%%%NON_LITE%%share/applications/vim.desktop +%%DESKTOP%%%%NON_LITE%%share/icons/hicolor/48x48/apps/gvim.png +%%DESKTOP%%%%NON_LITE%%share/icons/locolor/16x16/apps/gvim.png +%%DESKTOP%%%%NON_LITE%%share/icons/locolor/32x32/apps/gvim.png %%NO_NLS%%@dir %%DATADIR%%/%%VIM_VER%%/lang