Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Aug 2014 19:37:21 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r363933 - in head/devel/xc3sprog: . files
Message-ID:  <53de8f71.5710.51f5a49e@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Sun Aug  3 19:37:20 2014
New Revision: 363933
URL: http://svnweb.freebsd.org/changeset/ports/363933
QAT: https://qat.redports.org/buildarchive/r363933/

Log:
  devel/xc3sprog: change to USES=cmake
  
  PR:		188055
  Submitted by:	makc, bapt

Added:
  head/devel/xc3sprog/files/
  head/devel/xc3sprog/files/patch-CMakeLists.txt   (contents, props changed)
  head/devel/xc3sprog/files/patch-utilities.cpp   (contents, props changed)
Modified:
  head/devel/xc3sprog/Makefile
  head/devel/xc3sprog/distinfo

Modified: head/devel/xc3sprog/Makefile
==============================================================================
--- head/devel/xc3sprog/Makefile	Sun Aug  3 19:36:58 2014	(r363932)
+++ head/devel/xc3sprog/Makefile	Sun Aug  3 19:37:20 2014	(r363933)
@@ -9,17 +9,13 @@ MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Free programmer for Xilinx Spartan S3E Starter Kit
 
 LIB_DEPENDS=	libftdi.so:${PORTSDIR}/devel/libftdi
-BUILD_DEPENDS=	${LOCALBASE}/bin/cmake:${PORTSDIR}/devel/cmake
 RUN_DEPENDS=	${LOCALBASE}/sbin/fxload:${PORTSDIR}/misc/fxload
 
-USES=		tar:xz
+USES=		tar:xz cmake
 ALL_TARGET=	xc3sprog
 
 PLIST_FILES=	bin/xc3sprog
 
-pre-configure:
-	cd ${WRKSRC} && ${LOCALBASE}/bin/cmake .
-
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/xc3sprog ${STAGEDIR}${PREFIX}/bin
 

Modified: head/devel/xc3sprog/distinfo
==============================================================================
--- head/devel/xc3sprog/distinfo	Sun Aug  3 19:36:58 2014	(r363932)
+++ head/devel/xc3sprog/distinfo	Sun Aug  3 19:37:20 2014	(r363933)
@@ -1,2 +1,2 @@
-SHA256 (xc3sprog-r769.tar.xz) = 91a83821b6dbecf73f8b3a7855f40019fb1f5cd593c9e80028330e8bb2129b9f
-SIZE (xc3sprog-r769.tar.xz) = 867536
+SHA256 (xc3sprog-r769.tar.xz) = 40fda2513f833ec84575d50a4e08e7b67f017a51efc732642c3a7af33bc831db
+SIZE (xc3sprog-r769.tar.xz) = 843208

Added: head/devel/xc3sprog/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/xc3sprog/files/patch-CMakeLists.txt	Sun Aug  3 19:37:20 2014	(r363933)
@@ -0,0 +1,11 @@
+--- ./CMakeLists.txt.orig	2014-08-03 12:43:51.000000000 +0200
++++ ./CMakeLists.txt	2014-08-03 21:12:45.000000000 +0200
+@@ -16,7 +16,7 @@
+ ENDIF( ${CMAKE_COMPILER_IS_GNUCXX} )
+ endif(${WIN32})
+ 
+-option(USE_FTD2XX "Use FTDI libFTD2XX instead of free libftdi" ON)
++# option(USE_FTD2XX "Use FTDI libFTD2XX instead of free libftdi" ON)
+ 
+ find_package(libftdi)
+ include_directories(${LIBFTDI_INCLUDE_DIR})

Added: head/devel/xc3sprog/files/patch-utilities.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/xc3sprog/files/patch-utilities.cpp	Sun Aug  3 19:37:20 2014	(r363933)
@@ -0,0 +1,10 @@
+--- ./utilities.cpp.orig	2014-08-03 12:33:22.000000000 +0200
++++ ./utilities.cpp	2014-08-03 12:33:32.000000000 +0200
+@@ -5,6 +5,7 @@
+ #include <stdio.h>
+ #include <string.h>
+ #include <strings.h>
++#include <unistd.h>
+ #include <memory>
+ 
+ #include "ioparport.h"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53de8f71.5710.51f5a49e>