diff options
author | cy <cy@FreeBSD.org> | 2014-06-21 10:34:39 +0800 |
---|---|---|
committer | cy <cy@FreeBSD.org> | 2014-06-21 10:34:39 +0800 |
commit | 65aae74a9fb69d765bb8af9a86a6cf2317d17a6d (patch) | |
tree | 68cd21028180f0702c6478a4d739e275862cbdb4 /misc | |
parent | 2a61126bafd8bc55fdfa0277e1df50fed2203256 (diff) | |
download | freebsd-ports-gnome-65aae74a9fb69d765bb8af9a86a6cf2317d17a6d.tar.gz freebsd-ports-gnome-65aae74a9fb69d765bb8af9a86a6cf2317d17a6d.tar.zst freebsd-ports-gnome-65aae74a9fb69d765bb8af9a86a6cf2317d17a6d.zip |
Fix build as reported by pkg-fallout.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/gman/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/misc/gman/Makefile b/misc/gman/Makefile index 1d45de5fee2b..68f6dbdf4458 100644 --- a/misc/gman/Makefile +++ b/misc/gman/Makefile @@ -23,12 +23,14 @@ RUN_DEPENDS= ghostview:${PORTSDIR}/print/ghostview \ 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 |