aboutsummaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2015-03-25 00:01:21 +0800
committermarino <marino@FreeBSD.org>2015-03-25 00:01:21 +0800
commit1b477abc2933e25096e362f8a5ccc3a4cfea9b0e (patch)
tree39257fd28dbfaa680ec8b78183dbd71aec1e6369 /cad
parent5984003b68a98d4c43b0e0b608997d4bb833a43c (diff)
downloadfreebsd-ports-gnome-1b477abc2933e25096e362f8a5ccc3a4cfea9b0e.tar.gz
freebsd-ports-gnome-1b477abc2933e25096e362f8a5ccc3a4cfea9b0e.tar.zst
freebsd-ports-gnome-1b477abc2933e25096e362f8a5ccc3a4cfea9b0e.zip
6 ports categories: Remove $PTHREAD_LIBS
Categories: cad, devel, java, x11-fm, biology, deskutils approved by: PTHREAD blanket
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: