summaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2003-05-09 14:05:53 +0000
committerdes <des@FreeBSD.org>2003-05-09 14:05:53 +0000
commit8992bf031047eb1c944899956bbc6b0b9fb49d30 (patch)
treebc9db1a1740f425574a461c9a1014f49b40dd7c3 /devel
parentc622c192cff4155b0bb95eff8d198b312e5acdf3 (diff)
downloadFreeBSD-ports-8992bf031047eb1c944899956bbc6b0b9fb49d30.zip
FreeBSD-ports-8992bf031047eb1c944899956bbc6b0b9fb49d30.tar.gz
Unbreak by adding -pthread to CFLAGS.
Diffstat (limited to 'devel')
-rw-r--r--devel/ifd-test/Makefile2
-rw-r--r--devel/ifd-test/files/patch-Makefile3
2 files changed, 2 insertions, 3 deletions
diff --git a/devel/ifd-test/Makefile b/devel/ifd-test/Makefile
index 45876a1..88140e9 100644
--- a/devel/ifd-test/Makefile
+++ b/devel/ifd-test/Makefile
@@ -13,8 +13,6 @@ MASTER_SITES= http://www.linuxnet.com/drivers/readers/files/
MAINTAINER= bms@spc.org
COMMENT= IFD Test Suite for PC/SC Lite
-BROKEN= "Does not link"
-
LIB_DEPENDS= pcsclite.0:${PORTSDIR}/devel/pcsc-lite
USE_GMAKE= yes
diff --git a/devel/ifd-test/files/patch-Makefile b/devel/ifd-test/files/patch-Makefile
index 325cfb5..f41753c 100644
--- a/devel/ifd-test/files/patch-Makefile
+++ b/devel/ifd-test/files/patch-Makefile
@@ -7,9 +7,10 @@
+PREFIX?= /usr/local
+
CC = gcc
- CFLAGS = -g -w
+-CFLAGS = -g -w
-INCLUDE = -I/usr/local/pcsc/include
-LIBS = -L/usr/local/pcsc/lib -lpcsclite
++CFLAGS = -g -w -pthread
+INCLUDE = -I${PREFIX}/include
+LIBS = -L${PREFIX}/lib -lpcsclite
OBJS = testIBM.o testAMMI.o testSCHL.o testSIEMENS.o testBULL.o testGD.o commands.o testA.o testB.o
OpenPOWER on IntegriCloud