svn commit: r397815 - head/archivers/gtar

Dmitry Marakasov amdmi3 at FreeBSD.org
Fri Sep 25 11:50:40 UTC 2015


Author: amdmi3
Date: Fri Sep 25 11:50:39 2015
New Revision: 397815
URL: https://svnweb.freebsd.org/changeset/ports/397815

Log:
  - Switch to options helpers
  
  Approved by:	portmgr blanket

Modified:
  head/archivers/gtar/Makefile

Modified: head/archivers/gtar/Makefile
==============================================================================
--- head/archivers/gtar/Makefile	Fri Sep 25 11:50:32 2015	(r397814)
+++ head/archivers/gtar/Makefile	Fri Sep 25 11:50:39 2015	(r397815)
@@ -36,13 +36,8 @@ NLS_CONFIGURE_ENABLE=	nls
 STATIC_LDFLAGS=	-static
 STATIC_CONFIGURE_ENV=	SHLIBEXT=""
 
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MSTATIC}
-STATIC_ARGS=	build
-.else
-STATIC_ARGS=	lib
-.endif
+STATIC_VARS=	STATIC_ARGS=build
+STATIC_VARS_OFF=	STATIC_ARGS=lib
 
 # Tests 161 163 are known to fail because path resolution of ".."
 # in a removed directory fails.


More information about the svn-ports-head mailing list