Strip desktop stuff from xterm so it doesn't pull in glib2 and Perl. Index: x11/xterm/Makefile =================================================================== RCS file: /cvsroot/pkgsrc/x11/xterm/Makefile,v retrieving revision 1.72 diff -p -u -r1.72 Makefile --- x11/xterm/Makefile 27 Feb 2013 09:19:09 -0000 1.72 +++ x11/xterm/Makefile 23 Apr 2013 13:29:24 -0000 @@ -48,6 +48,9 @@ CONFIGURE_ARGS+= --enable-wide-chars BUILDLINK_DEPMETHOD.libxkbfile?= build .include "../../x11/libxkbfile/buildlink3.mk" +# [TRC 20130328: Nuke the desktop utils crap because it depends on +# glib2 which brings in Perl.] +.if "0" == "1" post-install: ${INSTALL_DATA} ${WRKSRC}/xterm.desktop \ ${DESTDIR}${PREFIX}/share/applications && \ @@ -55,10 +58,12 @@ post-install: ${DESTDIR}${PREFIX}/share/applications cd ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 && tbl xterm.1 \ > xterm.1.tbl && mv xterm.1.tbl xterm.1 +.endif .include "options.mk" -.include "../../sysutils/desktop-file-utils/desktopdb.mk" +# [TRC 20130328: See above about desktop utils.] +#.include "../../sysutils/desktop-file-utils/desktopdb.mk" .include "../../mk/termcap.buildlink3.mk" .include "../../mk/xaw.buildlink3.mk" .include "../../mk/bsd.pkg.mk" Index: x11/xterm/PLIST =================================================================== RCS file: /cvsroot/pkgsrc/x11/xterm/PLIST,v retrieving revision 1.9 diff -p -u -r1.9 PLIST --- x11/xterm/PLIST 10 Oct 2012 13:50:56 -0000 1.9 +++ x11/xterm/PLIST 23 Apr 2013 13:29:24 -0000 @@ -13,8 +13,6 @@ man/man1/koi8rxterm.1 man/man1/resize.1 man/man1/uxterm.1 man/man1/xterm.1 -share/applications/uxterm.desktop -share/applications/xterm.desktop share/pixmaps/filled-xterm_32x32.xpm share/pixmaps/filled-xterm_48x48.xpm share/pixmaps/mini.xterm_32x32.xpm