summaryrefslogtreecommitdiff
path: root/games/doomlegacy/Makefile
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2003-10-02 22:56:19 +0000
committerKris Kennaway <kris@FreeBSD.org>2003-10-02 22:56:19 +0000
commitc51db2f4d6818e113cd6881e7020bee50808c35b (patch)
treec9579604dd882655e3e8f29fe28e0f8664f1a616 /games/doomlegacy/Makefile
parentRemove NULL patch. (diff)
Respect CC, CFLAGS, PTHREAD_LIBS and PTHREAD_CFLAGS (unbreaks build on 5.x)
Notes
Notes: svn path=/head/; revision=90067
Diffstat (limited to 'games/doomlegacy/Makefile')
-rw-r--r--games/doomlegacy/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/games/doomlegacy/Makefile b/games/doomlegacy/Makefile
index f2ba49a7fd84..8775257b486e 100644
--- a/games/doomlegacy/Makefile
+++ b/games/doomlegacy/Makefile
@@ -29,7 +29,8 @@ USE_GMAKE= yes
USE_MESA= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
-MAKE_ARGS= -f makefile FREEBSD=1
+MAKEFILE= makefile
+MAKE_ENV= FREEBSD=1
# I have no ideas about build status on other platforms
ONLY_FOR_ARCHS= i386
@@ -45,11 +46,8 @@ post-extract:
@cd ${WRKDIR} && ${MKDIR} bin && \
unzip -q ${_DISTDIR}/${WADFILE} -d ${WRKDIR}/bin
-do-build:
- cd ${WRKSRC} && ${GMAKE} ${MAKE_ARGS} && \
- ${LN} -s ${WRKSRC}/linux_x/sndserv/linux/llsndserv ${WRKDIR}/bin
-
do-install:
+ ${LN} -sf ${WRKSRC}/linux_x/sndserv/linux/llsndserv ${WRKDIR}/bin
${INSTALL} -d ${TARGET_DIR} && \
${INSTALL_PROGRAM} ${PROG_FILES} ${TARGET_DIR} && \
${INSTALL} ${SGID_ARGS} ${SGID_FILES} ${TARGET_DIR} && \