svn commit: r430927 - head/devel/urjtag
Dmitry Marakasov
amdmi3 at FreeBSD.org
Mon Jan 9 09:43:39 UTC 2017
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>
More information about the svn-ports-all
mailing list