aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2013-09-12 18:17:57 +0800
committerdanfe <danfe@FreeBSD.org>2013-09-12 18:17:57 +0800
commit5af041b603ad4772f17271f9f7231ece40c0fa5c (patch)
tree05e2ad90a9ef58173ccf3f80fd3d90ff75a7f284
parent68adc801d145cae19f7dd3fc243f2736a7941800 (diff)
downloadfreebsd-ports-gnome-5af041b603ad4772f17271f9f7231ece40c0fa5c.tar.gz
freebsd-ports-gnome-5af041b603ad4772f17271f9f7231ece40c0fa5c.tar.zst
freebsd-ports-gnome-5af041b603ad4772f17271f9f7231ece40c0fa5c.zip
- Unbreak the build in GCC-less environment by explicitly passing LD value
- While here, contract MASTER_SITES and convert USE_GMAKE to USES Reported by: pkg-fallout
-rw-r--r--games/quake2-relay/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/games/quake2-relay/Makefile b/games/quake2-relay/Makefile
index 04aae9293b7d..1b999a3df58a 100644
--- a/games/quake2-relay/Makefile
+++ b/games/quake2-relay/Makefile
@@ -4,8 +4,7 @@
PORTNAME= relay
PORTVERSION= 0.4
CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_LOCAL} http://freebsd.nsu.ru/distfiles/
-MASTER_SITE_SUBDIR= danfe
+MASTER_SITES= LOCAL/danfe http://freebsd.nsu.ru/distfiles/
PKGNAMEPREFIX= ${Q2PKGNAMEPREFIX}
DISTNAME= relay-${PORTVERSION}.src
@@ -14,10 +13,10 @@ COMMENT= Quake II multi-view demo recording facility
LICENSE= GPLv2
-USE_GMAKE= yes
+USES= gmake
MAKE_ARGS= MODE=release OBJ_DIR=. OUT_DIR=. Q2MODULE=game.so \
QUAKE2_DIR="${Q2DIR}" BIN_DIR="${PREFIX}/bin" \
- CC="${CC}" CFLAGS="${CFLAGS}"
+ CC="${CC}" LD="${CC}" CFLAGS="${CFLAGS}"
WRKSRC= ${WRKDIR}/relay-${PORTVERSION}
PORTDOCS= FAQ README