Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jan 2017 09:43:38 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r430927 - head/devel/urjtag
Message-ID:  <201701090943.v099hcif098287@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Jan  9 09:43:38 2017
New Revision: 430927
URL: https://svnweb.freebsd.org/changeset/ports/430927

Log:
  - Switch to USES=localbase
  - Remove always false OSVERSION condition

Modified:
  head/devel/urjtag/Makefile

Modified: head/devel/urjtag/Makefile
==============================================================================
--- head/devel/urjtag/Makefile	Mon Jan  9 09:39:45 2017	(r430926)
+++ head/devel/urjtag/Makefile	Mon Jan  9 09:43:38 2017	(r430927)
@@ -14,14 +14,11 @@ LICENSE=	GPLv2
 
 RUN_DEPENDS=	bash:shells/bash
 
-USES=		gmake readline shebangfix tar:bzip2
+USES=		gmake localbase:ldflags readline shebangfix tar:bzip2
 SHEBANG_FILES=	src/bsdl2jtag
 USE_CSTD=	c99
 GNU_CONFIGURE=	yes
 
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
-
 OPTIONS_DEFINE=		FTDI JEDEC NLS USB
 OPTIONS_DEFAULT=	FTDI USB
 OPTIONS_SUB=		yes
@@ -39,13 +36,6 @@ NLS_CONFIGURE_ENABLE=	nls
 USB_DESC=		USB JTAG adapters support
 USB_CONFIGURE_ON=	--with-libusb=/usr
 
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000033
-BUILD_DEPENDS+=	flex>0:textproc/flex
-CONFIGURE_ENV+=	LEX=${LOCALBASE}/bin/flex
-.endif
-
 post-patch:
 # Suppress svn(1) binary detection
 	@${REINPLACE_CMD} -e \
@@ -54,4 +44,4 @@ post-patch:
 		 s|-I$$with_libusb"|-I$$with_libusb/include"|' \
 		${WRKSRC}/configure
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701090943.v099hcif098287>