svn commit: r358659 - head/misc/gman
Cy Schubert
cy at FreeBSD.org
Sat Jun 21 02:34:40 UTC 2014
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
More information about the svn-ports-all
mailing list