summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2015-03-24 16:01:21 +0000
committerJohn Marino <marino@FreeBSD.org>2015-03-24 16:01:21 +0000
commit64ee7e63bfb854b5a2ad27340022112bb00cf3cb (patch)
tree39257fd28dbfaa680ec8b78183dbd71aec1e6369 /cad
parentAdd port of PyInstaller, a program that converts (packages) Python programs (diff)
6 ports categories: Remove $PTHREAD_LIBS
Categories: cad, devel, java, x11-fm, biology, deskutils approved by: PTHREAD blanket
Notes
Notes: svn path=/head/; revision=382111
Diffstat (limited to 'cad')
-rw-r--r--cad/pcb/Makefile2
-rw-r--r--cad/tochnog/Makefile1
-rw-r--r--cad/tochnog/files/patch-makefile4
3 files changed, 3 insertions, 4 deletions
diff --git a/cad/pcb/Makefile b/cad/pcb/Makefile
index a57a0fd8c57f..54728c9f8a5d 100644
--- a/cad/pcb/Makefile
+++ b/cad/pcb/Makefile
@@ -26,7 +26,7 @@ INSTALLS_ICONS= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV+= INSTALL_DATA="${BSD_INSTALL_DATA}"
CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= ${PTHREAD_LIBS} -L${LOCALBASE}/lib
+LDFLAGS+= -lpthread -L${LOCALBASE}/lib
PORTDOCS= \
pcb.html pcb.pdf refcard.pdf pad.png puller.png thermal.png \
diff --git a/cad/tochnog/Makefile b/cad/tochnog/Makefile
index 2e5cb7856d28..d231eeca5b6b 100644
--- a/cad/tochnog/Makefile
+++ b/cad/tochnog/Makefile
@@ -22,7 +22,6 @@ ATLAS_DESC= Use ATLAS instead of BLAS/LAPACK
WRKSRC= ${WRKDIR}/Sources/Tochnog-Latest-jan-2014
MAKEFILE= makefile
-MAKE_ENV= PTHREAD_LIBS=${PTHREAD_LIBS} PTHREAD_CFLAGS=${PTHREAD_CFLAGS}
USES= fortran zip dos2unix
DOS2UNIX_FILES= time.cc time.h tnlapack.h tnsuplu.h
diff --git a/cad/tochnog/files/patch-makefile b/cad/tochnog/files/patch-makefile
index f2633df04ae2..421f11264e38 100644
--- a/cad/tochnog/files/patch-makefile
+++ b/cad/tochnog/files/patch-makefile
@@ -70,9 +70,9 @@
+ ${MAKE} tochnog \
+ "SYS_FILE=sysposix" \
+ "OBJ=o" \
-+ "COMPILER_FLAGS= -c ${CFLAGS} ${CPPFLAGS} -D_REENTRANT $(PTHREAD_CFLAGS) $(ALL_INCLUDE)" \
++ "COMPILER_FLAGS= -c ${CFLAGS} ${CPPFLAGS} -D_REENTRANT $(ALL_INCLUDE)" \
+ "LINK_FLAGS_BEFORE=" \
-+ "LINK_FLAGS_AFTER= $(PROFILE) $(ALL_LIB) ${LDFLAGS} $(PTHREAD_LIBS) -lm -o tochnog"
++ "LINK_FLAGS_AFTER= $(PROFILE) $(ALL_LIB) ${LDFLAGS} -lpthread -lm -o tochnog"
# multi processor linux; gnu gcc compiler
linux: