svn commit: r430628 - head/games/fishsupper

Dmitry Marakasov amdmi3 at FreeBSD.org
Thu Jan 5 10:50:13 UTC 2017


Author: amdmi3
Date: Thu Jan  5 10:50:12 2017
New Revision: 430628
URL: https://svnweb.freebsd.org/changeset/ports/430628

Log:
  - Switch to USES=localbase
  - Remove always-true condition

Modified:
  head/games/fishsupper/Makefile

Modified: head/games/fishsupper/Makefile
==============================================================================
--- head/games/fishsupper/Makefile	Thu Jan  5 10:49:36 2017	(r430627)
+++ head/games/fishsupper/Makefile	Thu Jan  5 10:50:12 2017	(r430628)
@@ -16,13 +16,10 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 BUILD_DEPENDS=	${LOCALBASE}/include/boost/bind.hpp:devel/boost-libs
 
 GNU_CONFIGURE=	yes
-USES=		gmake
+USES=		gmake localbase:ldflags
 USE_SDL=	sdl image mixer
 USE_GL=		gl
 
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
-
 PLIST_FILES=	bin/${PORTNAME}
 PORTDOCS=	*
 PORTDATA=	*
@@ -36,12 +33,8 @@ DESKTOP_ENTRIES="Fish Supper" \
 
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.options.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} > 1000000
 post-patch:
 	@${REINPLACE_CMD} -e 's|std::tr1::shared_ptr|std::shared_ptr|g' ${WRKSRC}/src/*.h ${WRKSRC}/src/*.cpp
-.endif
 
 post-install:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}


More information about the svn-ports-all mailing list