Date: Sat, 21 Jun 2014 02:34:39 +0000 (UTC) From: Cy Schubert <cy@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r358659 - head/misc/gman Message-ID: <201406210234.s5L2YdwT085524@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: cy Date: Sat Jun 21 02:34:39 2014 New Revision: 358659 URL: http://svnweb.freebsd.org/changeset/ports/358659 QAT: https://qat.redports.org/buildarchive/r358659/ Log: Fix build as reported by pkg-fallout. Modified: head/misc/gman/Makefile Modified: head/misc/gman/Makefile ============================================================================== --- head/misc/gman/Makefile Sat Jun 21 01:26:57 2014 (r358658) +++ head/misc/gman/Makefile Sat Jun 21 02:34:39 2014 (r358659) @@ -23,12 +23,14 @@ RUN_DEPENDS= ghostview:${PORTSDIR}/print WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -USES= gettext gmake +USES= gettext gmake shebangfix USE_GNOME= gtk12 +USE_GCC= any CXXFLAGS+= -L${LOCALBASE}/lib .include <bsd.port.pre.mk> + SHEBANG_LANG+= perlw perlw_OLD_CMD= /usr/bin/perl -w perlw_CMD= ${LOCALBASE}/bin/perl -w @@ -41,6 +43,8 @@ post-patch: -e 's,= /usr,= ${PREFIX},g' \ -e 's,\-O2,,g' \ -e 's,\-lgtk \-lgdk \-lpthread ,`${GTK_CONFIG} \-\-libs gthread` ,g' ${WRKSRC}/Makefile + # XXX - workaround for shebangfix not working + @${REINPLACE_CMD} -e "s|/usr/bin/perl|${LOCALBASE}/bin/perl|" ${WRKSRC}/gman.pl do-install: ${INSTALL_PROGRAM} ${WRKSRC}/gman ${STAGEDIR}${PREFIX}/bin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406210234.s5L2YdwT085524>