aboutsummaryrefslogtreecommitdiffstats
path: root/games/etracer
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2010-03-30 19:22:14 +0800
committerdinoex <dinoex@FreeBSD.org>2010-03-30 19:22:14 +0800
commit099edcafeaab78a4e20b38a1037de6ad3e45a1f7 (patch)
tree6c5cee391a9aaf0b649b354d1d8ae05598da4801 /games/etracer
parent4fec80129f2a1f20811d102e5c2ea50986fb218e (diff)
downloadfreebsd-ports-gnome-099edcafeaab78a4e20b38a1037de6ad3e45a1f7.tar.gz
freebsd-ports-gnome-099edcafeaab78a4e20b38a1037de6ad3e45a1f7.tar.zst
freebsd-ports-gnome-099edcafeaab78a4e20b38a1037de6ad3e45a1f7.zip
- fix build for png-1.4.1
Diffstat (limited to 'games/etracer')
-rw-r--r--games/etracer/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/games/etracer/Makefile b/games/etracer/Makefile
index 0395a712c227..336a664e427c 100644
--- a/games/etracer/Makefile
+++ b/games/etracer/Makefile
@@ -31,4 +31,11 @@ CONFIGURE_ARGS= --with-tcl="${TCL_LIBDIR}" \
--with-gl-libs="${LOCALBASE}/lib" \
--with-gl-inc="${LOCALBASE}/include"
+post-patch:
+ ${REINPLACE_CMD} -e 's|libpng12|libpng14|g' \
+ ${WRKSRC}/configure
+ ${REINPLACE_CMD} -e 's|int_p_NULL|NULL|g' \
+ -e 's|png_infopp_NULL|NULL|g' \
+ ${WRKSRC}/src/ppgltk/images/png_reader.cpp
+
.include <bsd.port.post.mk>