aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-11-01 08:46:19 +0800
committersteve <steve@FreeBSD.org>1999-11-01 08:46:19 +0800
commita22602becdfda1e8cbe1e62e183f4548801fd162 (patch)
tree79846d2caa39a93836c05ee19c9e8f4dc337db2f /graphics
parent7f396cec4890532764c4678cb278cfc5f691aa22 (diff)
downloadfreebsd-ports-gnome-a22602becdfda1e8cbe1e62e183f4548801fd162.tar.gz
freebsd-ports-gnome-a22602becdfda1e8cbe1e62e183f4548801fd162.tar.zst
freebsd-ports-gnome-a22602becdfda1e8cbe1e62e183f4548801fd162.zip
Correct path to python in web2png script.
PR: 14556 Submitted by: Marcin Cie^vlak <saper@system.pl>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/gif2png/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/gif2png/Makefile b/graphics/gif2png/Makefile
index 48183c693c0e..154aa2df7661 100644
--- a/graphics/gif2png/Makefile
+++ b/graphics/gif2png/Makefile
@@ -17,6 +17,10 @@ LIB_DEPENDS= png.3:${PORTSDIR}/graphics/png
GNU_CONFIGURE= yes
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" CPPFLAGS="-I${LOCALBASE}/include"
+pre-build:
+ mv ${WRKSRC}/web2png ${WRKSRC}/web2png_prepatch
+ $(SED) -e '1s#/usr/bin/python#/usr/bin/env python#' ${WRKSRC}/web2png_prepatch > ${WRKSRC}/web2png
+
MAN1= gif2png.1 web2png.1
.include <bsd.port.mk>