summaryrefslogtreecommitdiffstats
path: root/games/3dc/Makefile
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2002-01-02 05:09:37 +0000
committerpat <pat@FreeBSD.org>2002-01-02 05:09:37 +0000
commit47b9a20581acb4537ff914d5d662ed2b60af4f13 (patch)
treefaf947fac054bce2e048db3abe9d1b48755f98c2 /games/3dc/Makefile
parent378b0f743018862aa38708eb696c9d6a1a3d05d0 (diff)
downloadFreeBSD-ports-47b9a20581acb4537ff914d5d662ed2b60af4f13.zip
FreeBSD-ports-47b9a20581acb4537ff914d5d662ed2b60af4f13.tar.gz
- Fix for -CURRENT: s/malloc.h/stdlib.h/
- Give maintainership to submitter PR: 33399 Submitted by: Adam Kranzel <adam-ports@blacktabby.org>
Diffstat (limited to 'games/3dc/Makefile')
-rw-r--r--games/3dc/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/games/3dc/Makefile b/games/3dc/Makefile
index 4934f30..4ede7d1 100644
--- a/games/3dc/Makefile
+++ b/games/3dc/Makefile
@@ -12,7 +12,7 @@ MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= games/strategy
DISTNAME= 3Dc-${PORTVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= adam-ports@blacktabby.org
LIB_DEPENDS= Xaw3d.${XAWVER}:${PORTSDIR}/x11-toolkits/Xaw3d
@@ -20,6 +20,11 @@ USE_X_PREFIX= yes
USE_XPM= yes
WRKSRC= ${WRKDIR}/3Dc/src
+post-patch:
+.for file in init.c main.c piece.c stack.c xif.c
+ @${PERL} -pi -e "s/malloc.h/stdlib.h/g" ${WRKSRC}/${file}
+.endfor
+
do-install:
@ ${INSTALL_PROGRAM} ${WRKSRC}/3Dc ${PREFIX}/bin
.if !defined(NOPORTDOCS)
OpenPOWER on IntegriCloud