aboutsummaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2006-09-18 18:13:42 +0000
committerHiroki Sato <hrs@FreeBSD.org>2006-09-18 18:13:42 +0000
commit352cdd34df44c6bcb6f1a093dc351d5dd98f43c5 (patch)
treef9b68831123556a2187ad660f13a01619184cb97 /cad
parent57b79d0f93bc12ef5fab53048b32ac53a22879dd (diff)
downloadports-352cdd34df44c6bcb6f1a093dc351d5dd98f43c5.tar.gz
ports-352cdd34df44c6bcb6f1a093dc351d5dd98f43c5.zip
Add pthread dependency to fix a crash problem.
PR: ports/101327 Spotted by: Michael Glaum <mglaum@sdf.lonestar.org>
Notes
Notes: svn path=/head/; revision=173348
Diffstat (limited to 'cad')
-rw-r--r--cad/pcb/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/cad/pcb/Makefile b/cad/pcb/Makefile
index 7e81cb31add2..134d5b1458f5 100644
--- a/cad/pcb/Makefile
+++ b/cad/pcb/Makefile
@@ -7,6 +7,7 @@
PORTNAME= pcb
PORTVERSION= 20060422
+PORTREVISION= 1
CATEGORIES= cad
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -27,8 +28,8 @@ USE_GNOME= gtk20
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_TK= 83
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}" \
+ LDFLAGS="${PTHREAD_LIBS} -L${LOCALBASE}/lib -L${X11BASE}/lib"
.if !defined(NOPORTDOCS)
INFO= pcb