diff options
author | dinoex <dinoex@FreeBSD.org> | 2010-04-01 16:08:21 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2010-04-01 16:08:21 +0800 |
commit | ffcdf18ef8c57bb5bf84a4d03390a019631cf14b (patch) | |
tree | ae00c6ee346897e6da186462e30773c9429d3bd1 /games | |
parent | 6e5a74fe5c6a0137022ed57b4ed8e701fd71b0ed (diff) | |
download | freebsd-ports-gnome-ffcdf18ef8c57bb5bf84a4d03390a019631cf14b.tar.gz freebsd-ports-gnome-ffcdf18ef8c57bb5bf84a4d03390a019631cf14b.tar.zst freebsd-ports-gnome-ffcdf18ef8c57bb5bf84a4d03390a019631cf14b.zip |
- fix build for png-1.4.1
Diffstat (limited to 'games')
-rw-r--r-- | games/demonquake/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/games/demonquake/Makefile b/games/demonquake/Makefile index 88fe490f6337..9b5334243040 100644 --- a/games/demonquake/Makefile +++ b/games/demonquake/Makefile @@ -58,6 +58,10 @@ MAKE_ENV+= BUILD_DEMONQUAKE_SDL=YES PLIST_FILES+= bin/${PORTNAME}-sdl .endif +post-patch: + ${REINPLACE_CMD} -e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|' \ + ${WRKSRC}/gl_image.c + do-install: .if !defined(WITHOUT_GLX) ${INSTALL_PROGRAM} ${WRKSRC}/quake/${PORTNAME}-glx ${PREFIX}/bin |