summaryrefslogtreecommitdiff
path: root/games/vultures-eye/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/vultures-eye/Makefile')
-rw-r--r--games/vultures-eye/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/games/vultures-eye/Makefile b/games/vultures-eye/Makefile
index 7d5e5cfdfaab..592382ac358b 100644
--- a/games/vultures-eye/Makefile
+++ b/games/vultures-eye/Makefile
@@ -7,7 +7,7 @@
PORTNAME= vultures
PORTVERSION= 2.1.0
-PORTREVISION= 9
+PORTREVISION= 10
CATEGORIES= games
MASTER_SITES= http://www.darkarts.co.za/projects/vultures/attachment/wiki/downloads/${PORTVERSION}/
PKGNAMESUFFIX= -eye
@@ -16,7 +16,7 @@ DISTFILES= ${DISTNAME}-full${EXTRACT_SUFX}?format=raw
MAINTAINER= llwang@infor.org
COMMENT= A graphical interface for NetHack 3.4.3 forked from Falcon's Eye
-LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png
+LIB_DEPENDS= png15:${PORTSDIR}/graphics/png
LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX}
@@ -28,14 +28,10 @@ HAS_CONFIGURE= yes
CONFIGURE_WRKSRC= ${WRKSRC}/sys/unix
CONFIGURE_SCRIPT= setup.sh
DATADIR= ${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX}
-MAKE_ENV+= DATADIR="${DATADIR}" MAKE="${GMAKE}"
+CFLAGS+= -I${LOCALBASE}/include/libpng15
+MAKE_ENV+= DATADIR="${DATADIR}" MAKE="${GMAKE}" BASECFLAGS="${CFLAGS}"
MAKE_JOBS_UNSAFE= yes
-post-patch:
- @${REINPLACE_CMD} -e \
- 's|png_infopp_NULL|NULL|g' \
- ${WRKSRC}/win/vultures/util/tiletrans.c
-
pre-configure:
@${CHMOD} 755 ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}