From owner-svn-ports-all@FreeBSD.ORG Tue Dec 24 12:57:11 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 61AC3D5F; Tue, 24 Dec 2013 12:57:11 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4CB781F14; Tue, 24 Dec 2013 12:57:11 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBOCvBv1087892; Tue, 24 Dec 2013 12:57:11 GMT (envelope-from mat@svn.freebsd.org) Received: (from mat@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBOCvAjZ087890; Tue, 24 Dec 2013 12:57:10 GMT (envelope-from mat@svn.freebsd.org) Message-Id: <201312241257.rBOCvAjZ087890@svn.freebsd.org> From: Mathieu Arnold Date: Tue, 24 Dec 2013 12:57:10 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r337348 - in branches/2014Q1/devel/urjtag: . files X-SVN-Group: ports-branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Dec 2013 12:57:11 -0000 Author: mat Date: Tue Dec 24 12:57:10 2013 New Revision: 337348 URL: http://svnweb.freebsd.org/changeset/ports/337348 Log: MFH: r337328 - Fix build on current - Support STAGE PR: ports/184810 Submitted by: KATO Tsuguru Approved by: portmgr (implicit) Deleted: branches/2014Q1/devel/urjtag/files/ Modified: branches/2014Q1/devel/urjtag/Makefile branches/2014Q1/devel/urjtag/pkg-plist (contents, props changed) Directory Properties: branches/2014Q1/ (props changed) Modified: branches/2014Q1/devel/urjtag/Makefile ============================================================================== --- branches/2014Q1/devel/urjtag/Makefile Tue Dec 24 12:56:11 2013 (r337347) +++ branches/2014Q1/devel/urjtag/Makefile Tue Dec 24 12:57:10 2013 (r337348) @@ -3,7 +3,7 @@ PORTNAME= urjtag PORTVERSION= 0.10 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= devel MASTER_SITES= SF @@ -12,26 +12,24 @@ COMMENT= Extended utility to work with J LICENSE= GPLv2 -BUILD_DEPENDS= flex:${PORTSDIR}/textproc/flex +RUN_DEPENDS= bash:${PORTSDIR}/shells/bash USE_BZIP2= yes -USE_GMAKE= yes +USES= gmake readline shebangfix +SHEBANG_FILES= src/bsdl2jtag +USE_CSTD= c99 GNU_CONFIGURE= yes -CONFIGURE_ENV= LEX=${LOCALBASE}/bin/flex CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -CFLAGS+= --std=c99 - -MAN1= jtag.1 bsdl2jtag.1 OPTIONS_DEFINE= USB FTDI JEDEC NLS OPTIONS_DEFAULT= USB FTDI +OPTIONS_SUB= yes USB_DESC= Build support for USB JTAG adapters FTDI_DESC= Build support for FTDI-based USB JTAG adapters JEDEC_DESC= Enable experimental JEDEC flash detection -NO_STAGE= yes .include .if ${PORT_OPTIONS:MJEDEC} @@ -39,29 +37,34 @@ CONFIGURE_ARGS+= --enable-jedec .endif .if ${PORT_OPTIONS:MUSB} -CONFIGURE_ARGS+= --with-libusb -EXTRA_PATCHES= ${FILESDIR}/extra-patch-usb -.endif - -.if ${PORT_OPTIONS:MFTDI} -CONFIGURE_ARGS+= --with-libftdi -LIB_DEPENDS+= ftdi:${PORTSDIR}/devel/libftdi +CONFIGURE_ARGS+= --with-libusb=/usr .endif -.if exists(${LOCALBASE}/lib/libreadline.so.6) -LIB_DEPENDS+= readline.6:${PORTSDIR}/devel/readline +.if ! ${PORT_OPTIONS:MFTDI} +CONFIGURE_ARGS+= --without-libftdi +.else +LIB_DEPENDS+= libftdi.so:${PORTSDIR}/devel/libftdi .endif .if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB+= NLS="" +USES+= gettext .else -PLIST_SUB+= NLS="@comment " CONFIGURE_ARGS+=--disable-nls .endif +.include + +.if ${OSVERSION} < 1000033 +BUILD_DEPENDS+= flex>0:${PORTSDIR}/textproc/flex +CONFIGURE_ENV+= LEX=${LOCALBASE}/bin/flex +.endif + post-patch: # Suppress svn(1) binary detection - @${REINPLACE_CMD} -e 's|^SVN=.*|SVN=''|' ${WRKSRC}/configure + @${REINPLACE_CMD} -e \ + 's|^SVN=.*|SVN=''| ; \ + s|-Lwith_libusb |-L$$with_libusb/lib | ; \ + s|-I$$with_libusb"|-I$$with_libusb/include"|' \ + ${WRKSRC}/configure -.include +.include Modified: branches/2014Q1/devel/urjtag/pkg-plist ============================================================================== --- branches/2014Q1/devel/urjtag/pkg-plist Tue Dec 24 12:56:11 2013 (r337347) +++ branches/2014Q1/devel/urjtag/pkg-plist Tue Dec 24 12:57:10 2013 (r337348) @@ -1,5 +1,7 @@ bin/bsdl2jtag bin/jtag +man/man1/bsdl2jtag.1.gz +man/man1/jtag.1.gz %%NLS%%share/locale/fr/LC_MESSAGES/urjtag.mo %%NLS%%share/locale/rw/LC_MESSAGES/urjtag.mo %%NLS%%share/locale/sk/LC_MESSAGES/urjtag.mo