aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2000-11-11 14:41:16 +0800
committerkevlo <kevlo@FreeBSD.org>2000-11-11 14:41:16 +0800
commit1cb38a220098ede5af4028a694c811455042a32e (patch)
treea0773aa9baf9d4f95a366251570b9318b6d08ddf /games
parent3bef30fd90cdd2264c609857b3d1479ce83459fe (diff)
downloadfreebsd-ports-gnome-1cb38a220098ede5af4028a694c811455042a32e.tar.gz
freebsd-ports-gnome-1cb38a220098ede5af4028a694c811455042a32e.tar.zst
freebsd-ports-gnome-1cb38a220098ede5af4028a694c811455042a32e.zip
Support CC/CFLAGS properly.
PR: 22747 Submitted by: Ports Fury
Diffstat (limited to 'games')
-rw-r--r--games/ztrack/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/games/ztrack/Makefile b/games/ztrack/Makefile
index 66bc773b63c0..b4ba022bffa5 100644
--- a/games/ztrack/Makefile
+++ b/games/ztrack/Makefile
@@ -13,12 +13,14 @@ MASTER_SITE_SUBDIR= games/arcade
MAINTAINER= ports@FreeBSD.org
-WRKSRC= ${WRKDIR}/ztrack
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -DHAVE_RANDOM"
ALL_TARGET= ztrack
MAN6= ztrack.6
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/ztrack ${PREFIX}/bin/ztrack
- @${INSTALL_MAN} ${WRKSRC}/ztrack.6 ${PREFIX}/man/man6
+ ${INSTALL_PROGRAM} ${WRKSRC}/ztrack ${PREFIX}/bin/ztrack
+ ${INSTALL_MAN} ${WRKSRC}/ztrack.6 ${MANPREFIX}/man/man6
.include <bsd.port.mk>