svn commit: r466683 - head/games/assaultcube

Larry Rosenman ler at FreeBSD.org
Fri Apr 6 18:32:51 UTC 2018


Author: ler
Date: Fri Apr  6 18:32:50 2018
New Revision: 466683
URL: https://svnweb.freebsd.org/changeset/ports/466683

Log:
  games/assaultcube: LLD_UNSAFE additions
  
  PR:	226980
  Submitted by:	emaste
  Approved by:	ghtside at gmx.com	 (maintainer)

Modified:
  head/games/assaultcube/Makefile

Modified: head/games/assaultcube/Makefile
==============================================================================
--- head/games/assaultcube/Makefile	Fri Apr  6 17:30:41 2018	(r466682)
+++ head/games/assaultcube/Makefile	Fri Apr  6 18:32:50 2018	(r466683)
@@ -25,6 +25,7 @@ LICENSE_PERMS_OTHER=	dist-mirror pkg-mirror auto-accep
 
 USES=		gmake tar:bzip2
 ALL_TARGET=	# empty
+LLD_UNSAFE=	yes
 WRKSRC=		${WRKDIR}/AssaultCube_v${PORTVERSION}
 BUILD_WRKSRC=	${WRKSRC}/source/src
 SUB_FILES=	${PLIST_FILES:Mbin/*:T}
@@ -77,8 +78,8 @@ post-patch: .SILENT
 		s|-I/usr/include || ; \
 		s|sdl-config|$$(SDL_CONFIG)| ; \
 		s|$$(USRLIB)|$$(LOCALBASE)/lib| ; \
-		/^CLIENT_LIBS=/s|$$| -lintl| ; \
-		/^SERVER_LIBS=/s|$$| -L$$(LOCALBASE)/lib|' \
+		/^CLIENT_LIBS=/s|$$| $$(LDFLAGS) -lintl| ; \
+		/^SERVER_LIBS=/s|$$| $$(LDFLAGS) -L$$(LOCALBASE)/lib|' \
 		${BUILD_WRKSRC}/Makefile
 .if ${PORT_OPTIONS:MPORT_ENET}
 	${SED} -i '.port_enet.bak' -e 's/libenet // ; \


More information about the svn-ports-head mailing list