summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2015-03-24 22:17:41 +0000
committermarino <marino@FreeBSD.org>2015-03-24 22:17:41 +0000
commitf74761b9bfd1bb59f543e04731e6db8a2aaf3824 (patch)
tree60ad4767380537b433ea1dfdfc2e72ae71751873
parentde6c295f80cbf9bf9ee451a705b2e1d68ddfeca3 (diff)
downloadFreeBSD-ports-f74761b9bfd1bb59f543e04731e6db8a2aaf3824.zip
FreeBSD-ports-f74761b9bfd1bb59f543e04731e6db8a2aaf3824.tar.gz
3 ports categories: Remove $PTHREAD_LIBS
Categories: print, science, emulators approved by: PTHREAD blanket
-rw-r--r--emulators/cingb/Makefile4
-rw-r--r--emulators/dynamips-community/Makefile4
-rw-r--r--emulators/dynamips-devel/Makefile4
-rw-r--r--emulators/dynamips/Makefile3
-rw-r--r--emulators/gngb/Makefile4
-rw-r--r--emulators/mupen64plus-core/Makefile2
-rw-r--r--emulators/o2em/Makefile2
-rw-r--r--emulators/simh/Makefile1
-rw-r--r--emulators/snes9x/Makefile4
-rw-r--r--print/cups-base/Makefile3
-rw-r--r--print/flpsed/Makefile4
-rw-r--r--print/ghostscript7/Makefile3
-rw-r--r--print/ghostscript8/Makefile5
-rw-r--r--print/ghostscript9-agpl/Makefile5
-rw-r--r--print/ghostscript9/Makefile5
-rw-r--r--print/gsview/Makefile2
-rw-r--r--print/gsview/files/patch-srcunx_unx.mak18
-rw-r--r--science/cgnslib/Makefile1
-rw-r--r--science/cgnslib/files/patch-src_make.defs.in4
-rw-r--r--science/ecs/Makefile2
-rw-r--r--science/gnudatalanguage/Makefile4
-rw-r--r--science/h5utils/Makefile3
-rw-r--r--science/mpb/Makefile2
-rw-r--r--science/mpqc/Makefile2
-rw-r--r--science/ncs/Makefile4
-rw-r--r--science/vmd/Makefile23
26 files changed, 49 insertions, 69 deletions
diff --git a/emulators/cingb/Makefile b/emulators/cingb/Makefile
index d588f03..375e24d 100644
--- a/emulators/cingb/Makefile
+++ b/emulators/cingb/Makefile
@@ -19,9 +19,7 @@ ALL_TARGET= standard
PORTDOCS= README README.FAQ
PLIST_FILES= bin/cingb bin/cingb_conf
-
-CPPFLAGS+= ${PTHREAD_CFLAGS}
-LDFLAGS+= ${PTHREAD_LIBS}
+LDFLAGS+= -lpthread
OPTIONS_DEFINE= DOCS
diff --git a/emulators/dynamips-community/Makefile b/emulators/dynamips-community/Makefile
index 3ef68ee..3379db5 100644
--- a/emulators/dynamips-community/Makefile
+++ b/emulators/dynamips-community/Makefile
@@ -28,9 +28,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
LDFLAGS+= -luuid
MAKE_ENV= DYNAMIPS_CODE=${DYNAMIPS_CODE} \
- DYNAMIPS_ARCH=${DYNAMIPS_ARCH} \
- PTHREAD_CFLAGS=${PTHREAD_CFLAGS} \
- PTHREAD_LIBS=${PTHREAD_LIBS}
+ DYNAMIPS_ARCH=${DYNAMIPS_ARCH}
.include <bsd.port.pre.mk>
diff --git a/emulators/dynamips-devel/Makefile b/emulators/dynamips-devel/Makefile
index f5c7e98..619dfbf 100644
--- a/emulators/dynamips-devel/Makefile
+++ b/emulators/dynamips-devel/Makefile
@@ -19,9 +19,7 @@ CONFLICTS= dynamips-[0-9]* dynamips-community-[0-9]*
USES= gmake
ALL_TARGET= ${PORTNAME} nvram_export
-MAKE_ENV= DYNAMIPS_ARCH=${DYNAMIPS_ARCH}\
- PTHREAD_CFLAGS=${PTHREAD_CFLAGS}\
- PTHREAD_LIBS=${PTHREAD_LIBS} \
+MAKE_ENV= DYNAMIPS_ARCH=${DYNAMIPS_ARCH} \
HAS_POSIX_MEMALIGN=1
MAKE_JOBS_UNSAFE= yes
diff --git a/emulators/dynamips/Makefile b/emulators/dynamips/Makefile
index ce19c77..0deef86 100644
--- a/emulators/dynamips/Makefile
+++ b/emulators/dynamips/Makefile
@@ -14,8 +14,7 @@ LIB_DEPENDS= libelf.so:${PORTSDIR}/devel/libelf
USES= gmake
ALL_TARGET= ${PORTNAME} nvram_export
-MAKE_ENV= DYNAMIPS_ARCH=${DYNAMIPS_ARCH}\
- PTHREAD_LIBS=${PTHREAD_LIBS}
+MAKE_ENV= DYNAMIPS_ARCH=${DYNAMIPS_ARCH}
MAKE_JOBS_UNSAFE= yes
CONFLICTS= dynamips-community-[0-9]* dynamips-devel-[0-9]*
diff --git a/emulators/gngb/Makefile b/emulators/gngb/Makefile
index 63e0cf0..993900f 100644
--- a/emulators/gngb/Makefile
+++ b/emulators/gngb/Makefile
@@ -36,8 +36,8 @@ pre-everything::
.endif
post-patch:
- @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
- s|"$$SDL_CONFIG" = yes|-n "$$SDL_CONFIG"|g ; \
+ @${REINPLACE_CMD} -e \
+ 's|"$$SDL_CONFIG" = yes|-n "$$SDL_CONFIG"|g ; \
s|sdl-config |$$SDL_CONFIG |g ; \
s|$$OPT||g' ${WRKSRC}/configure
diff --git a/emulators/mupen64plus-core/Makefile b/emulators/mupen64plus-core/Makefile
index abb5a1d..ac7c18f 100644
--- a/emulators/mupen64plus-core/Makefile
+++ b/emulators/mupen64plus-core/Makefile
@@ -24,7 +24,7 @@ ONLY_FOR_ARCHS= i386 amd64
OPTFLAGS= #
-MAKE_ENV+= PTHREAD_LIBS="${PTHREAD_LIBS}" OPTFLAGS="${OPTFLAGS}"
+MAKE_ENV+= OPTFLAGS="${OPTFLAGS}"
OPTIONSFILE= ${PORT_DBDIR}/${PORTNAME}${PKGNAMESUFFIX}/options
.include "${.CURDIR}/../mupen64plus-core/Makefile.common"
diff --git a/emulators/o2em/Makefile b/emulators/o2em/Makefile
index 1b5a8dc..7f7c653 100644
--- a/emulators/o2em/Makefile
+++ b/emulators/o2em/Makefile
@@ -18,7 +18,7 @@ LIB_DEPENDS= liballeg.so:${PORTSDIR}/devel/allegro
WRKSRC= ${WRKDIR}/o2em117src
MAKEFILE= Makefile.freebsd
USES= gmake zip
-LDFLAGS+= ${PTHREAD_LIBS}
+LDFLAGS+= -lpthread
OPTIONS_DEFINE= DOCS
diff --git a/emulators/simh/Makefile b/emulators/simh/Makefile
index c2d9c91..dab48f0 100644
--- a/emulators/simh/Makefile
+++ b/emulators/simh/Makefile
@@ -34,7 +34,6 @@ pre-patch:
post-patch:
@${REINPLACE_CMD} -e \
'/shell ldconfig/s|^|#| ; \
- s|-lpthread|${PTHREAD_LIBS}| ; \
/-O2/s| = | ?= |' ${WRKSRC}/makefile
@${REINPLACE_CMD} -e \
's|%%DATADIR%%|${DATADIR}|' ${WRKSRC}/VAX/vax_sysdev.c
diff --git a/emulators/snes9x/Makefile b/emulators/snes9x/Makefile
index d905f8c..6dab63a 100644
--- a/emulators/snes9x/Makefile
+++ b/emulators/snes9x/Makefile
@@ -20,8 +20,8 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --without-extensions
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-MAKE_ARGS= INCLUDES="-I${WRKSRC}/unzip -I${WRKSRC} -I${LOCALBASE}/include \
- ${PTHREAD_CFLAGS}" LDLIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
+MAKE_ARGS= INCLUDES="-I${WRKSRC}/unzip -I${WRKSRC} -I${LOCALBASE}/include" \
+ LDLIBS="-lpthread -L${LOCALBASE}/lib" \
OPTIMISE="${CXXFLAGS}"
WRKSRC= ${WRKDIR}/${DISTNAME}
diff --git a/print/cups-base/Makefile b/print/cups-base/Makefile
index 0f5d081..2de2214 100644
--- a/print/cups-base/Makefile
+++ b/print/cups-base/Makefile
@@ -235,8 +235,7 @@ post-patch:
.endif
@${REINPLACE_CMD} -e '/SILENT/d' ${WRKSRC}/Makedefs.in
@${REINPLACE_CMD} -e 's|/etc/cups|${LOCALBASE}/etc/cups|g' ${WRKSRC}/man/*.man*
- @${REINPLACE_CMD} -e 's|-lpthreads.*;|${PTHREAD_LIBS};|g' \
- -e 's|/private/etc/pam.d|${LOCALBASE}/etc/pam.d|' \
+ @${REINPLACE_CMD} -e 's|/private/etc/pam.d|${LOCALBASE}/etc/pam.d|' \
-e 's|-D_LARGEFILE64_SOURCE||g' \
${WRKSRC}/${CONFIGURE_SCRIPT}
@${REINPLACE_CMD} -e 's|\.default|.sample|'\
diff --git a/print/flpsed/Makefile b/print/flpsed/Makefile
index 2c181a7..88d8dcd 100644
--- a/print/flpsed/Makefile
+++ b/print/flpsed/Makefile
@@ -24,10 +24,6 @@ PLIST_FILES= bin/flpsed \
share/icons/flpsed.svg
PORTDOCS= README
-post-configure:
- @${FIND} -X ${WRKSRC} -type f -name Makefile | ${XARGS} \
- ${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g"
-
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
diff --git a/print/ghostscript7/Makefile b/print/ghostscript7/Makefile
index adb7062..f8f5dca 100644
--- a/print/ghostscript7/Makefile
+++ b/print/ghostscript7/Makefile
@@ -48,8 +48,7 @@ MAKE_ENV= CFLAGS_STANDARD="${CFLAGS}" \
CPPFLAGS+= -fPIC -DUPD_SIGNAL=0 -I. -I${WRKSRC}/gimp-print \
-I${LOCALBASE}/include
LDFLAGS+= ${XLDFLAGS}
-XCFLAGS= ${PTHREAD_CFLAGS}
-XLDFLAGS= -L${LOCALBASE}/lib -L${WRKSRC}/gimp-print ${PTHREAD_LIBS}
+XLDFLAGS= -lpthread -L${LOCALBASE}/lib -L${WRKSRC}/gimp-print
PLIST_SUB= GS_VERSION="${PORTVERSION}"
OPTIONS_DEFINE= X11 DOCS A4SIZE
diff --git a/print/ghostscript8/Makefile b/print/ghostscript8/Makefile
index 97546f1..9b29fee 100644
--- a/print/ghostscript8/Makefile
+++ b/print/ghostscript8/Makefile
@@ -60,9 +60,8 @@ CPPFLAGS+= -DUPD_SIGNAL=0 -I. \
-I${WRKSRC}/jasper/src/libjasper/include \
-I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-XCFLAGS= ${PTHREAD_CFLAGS} \
- -DA4
-XLDFLAGS= ${PTHREAD_LIBS}
+XCFLAGS= -DA4
+XLDFLAGS= -lpthread
PLIST_SUB= GS_VERSION="${PORTVERSION}" \
CIDFONTDIR="${CIDFONTDIR:S,^${PREFIX}/,,}"
diff --git a/print/ghostscript9-agpl/Makefile b/print/ghostscript9-agpl/Makefile
index aae2f58..a95c283 100644
--- a/print/ghostscript9-agpl/Makefile
+++ b/print/ghostscript9-agpl/Makefile
@@ -60,9 +60,8 @@ CPPFLAGS+= -DUPD_SIGNAL=0 -I. \
-I${WRKSRC}/openjpeg/src/lib/openjp2 \
-I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-XCFLAGS= ${PTHREAD_CFLAGS} \
- -DA4
-XLDFLAGS= ${PTHREAD_LIBS}
+XCFLAGS= -DA4
+XLDFLAGS= -lpthread
PLIST_SUB= GS_VERSION="${PORTVERSION}" \
X11BITS=${X11BITS}
diff --git a/print/ghostscript9/Makefile b/print/ghostscript9/Makefile
index 1da9ddc..8cc82c8 100644
--- a/print/ghostscript9/Makefile
+++ b/print/ghostscript9/Makefile
@@ -64,9 +64,8 @@ CPPFLAGS+= -DUPD_SIGNAL=0 -I. \
-I${WRKSRC}/openjpeg \
-I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-XCFLAGS= ${PTHREAD_CFLAGS} \
- -DA4
-XLDFLAGS= ${PTHREAD_LIBS}
+XCFLAGS= -DA4
+XLDFLAGS= -lpthread
PLIST_SUB= GS_VERSION="${PORTVERSION}" \
X11BITS=${X11BITS}
diff --git a/print/gsview/Makefile b/print/gsview/Makefile
index 4e06857..a0d2c7b 100644
--- a/print/gsview/Makefile
+++ b/print/gsview/Makefile
@@ -20,8 +20,6 @@ RUN_DEPENDS+= epstool:${PORTSDIR}/graphics/epstool \
NO_CDROM= Can only be distributed for free
-MAKE_ENV+= PTHREAD_LIBS=${PTHREAD_LIBS} PTHREAD_CFLAGS=${PTHREAD_CFLAGS}
-
MAKE_JOBS_UNSAFE= yes
PLIST_FILES= bin/gsview \
diff --git a/print/gsview/files/patch-srcunx_unx.mak b/print/gsview/files/patch-srcunx_unx.mak
index 450eba3..bf7ac83 100644
--- a/print/gsview/files/patch-srcunx_unx.mak
+++ b/print/gsview/files/patch-srcunx_unx.mak
@@ -1,5 +1,5 @@
---- srcunx/unx.mak.orig 2008-07-13 07:39:58.254461217 -0400
-+++ srcunx/unx.mak 2008-07-14 09:22:24.652938045 -0400
+--- srcunx/unx.mak.orig 2004-11-27 05:51:26 UTC
++++ srcunx/unx.mak
@@ -19,8 +19,8 @@
#
# WARNING: Doesn't install pstotext
@@ -11,7 +11,7 @@
GSVIEW_BASE=$(prefix)$(GSVIEW_ROOT)
-@@ -38,8 +38,6 @@
+@@ -38,8 +38,6 @@ GSVIEW_DOCPATH=$(GSVIEW_BASE)/share/doc
# GSview printer.ini and system wide gsview.ini
GSVIEW_ETCPATH=$(prefix)/etc
@@ -20,18 +20,16 @@
OBJ=o
INSTALL=install -m 644
INSTALL_EXE=install -m 755
-@@ -50,8 +48,8 @@
-
+@@ -51,7 +49,7 @@ LDEBUG=
# Linux
XINCLUDE=
--PFLAGS=-DMULTITHREAD
+ PFLAGS=-DMULTITHREAD
-PLINK=-lpthread -lrt
-+PFLAGS=-DMULTITHREAD ${PTHREAD_CFLAGS}
-+PLINK=${PTHREAD_LIBS}
++PLINK=-lpthread
# SunOS 5.7
#XINCLUDE=-I/usr/openwin/share/lib
-@@ -77,7 +75,8 @@
+@@ -77,7 +75,8 @@ PLINK=-lpthread -lrt
# Other possible options are -Wtraditional
# Compiler flags for C and C++ files.
@@ -41,7 +39,7 @@
# Linker flags
LFLAGS=$(LDEBUG) $(PLINK) `gtk-config --libs`
-@@ -152,7 +151,7 @@
+@@ -152,7 +151,7 @@ OBJS=$(OBJCOM1) $(OBJCOM2) $(OBJPLAT1)
#all: gsview html pstotext
all: $(BD)gsview$(EXE) html
diff --git a/science/cgnslib/Makefile b/science/cgnslib/Makefile
index 1c48532..0d320f2 100644
--- a/science/cgnslib/Makefile
+++ b/science/cgnslib/Makefile
@@ -18,7 +18,6 @@ LICENSE_FILE= ${WRKSRC}/license.txt
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
USES= cmake
-MAKE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}"
USE_LDCONFIG= yes
OPTIONS_DEFINE= HDF5 SZIP TESTS TOOLS
diff --git a/science/cgnslib/files/patch-src_make.defs.in b/science/cgnslib/files/patch-src_make.defs.in
index 692de9b..727faf7 100644
--- a/science/cgnslib/files/patch-src_make.defs.in
+++ b/science/cgnslib/files/patch-src_make.defs.in
@@ -5,7 +5,7 @@
CEOUT = @CEOUT@
LDFLAGS = @LDFLAGS@
-CLIBS = @LIBS@
-+CLIBS = @LIBS@ $(PTHREAD_LIBS)
++CLIBS = @LIBS@ -lpthread
#------------------------------------------------------------------------
# SPACE - used to force a space in the compiler executable output flag
@@ -14,7 +14,7 @@
FFLAGS = @FFLAGS@ @SYSFFLAGS@
FEOUT = @FEOUT@
-FLIBS = @FLIBS@
-+FLIBS = @FLIBS@ $(PTHREAD_LIBS)
++FLIBS = @FLIBS@ -lpthread
#------------------------------------------------------------------------
# strip command for executables - set to true if not used
diff --git a/science/ecs/Makefile b/science/ecs/Makefile
index f52a513..50729af 100644
--- a/science/ecs/Makefile
+++ b/science/ecs/Makefile
@@ -33,7 +33,7 @@ CONFIGURE_ARGS= --with-bft=${LOCALBASE} \
--with-med=${LOCALBASE} \
--with-metis=${LOCALBASE} \
--with-metis-include=${LOCALBASE}/include/metis
-CONFIGURE_ENV= PTHREAD_LIBS=${PTHREAD_LIBS}
+CONFIGURE_ENV= PTHREAD_LIBS=-lpthread
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
diff --git a/science/gnudatalanguage/Makefile b/science/gnudatalanguage/Makefile
index c2811d0..44cbc52 100644
--- a/science/gnudatalanguage/Makefile
+++ b/science/gnudatalanguage/Makefile
@@ -34,8 +34,8 @@ CMAKE_ARGS= -DREADLINEDIR:STRING="/usr" \
-DNCURSESDIR:STRING="/usr" \
-DMPICH:BOOL=NO \
-DMAGICK:BOOL=NO
-CPPFLAGS+= ${CFLAGS} -fno-inline ${PTHREAD_CFLAGS}
-LDFLAGS+= ${PTHREAD_LIBS} -L${LOCALBASE}/lib
+CPPFLAGS+= ${CFLAGS} -fno-inline
+LDFLAGS+= -lpthread -L${LOCALBASE}/lib
SLAVEDIRS= science/py-gnudatalanguage
diff --git a/science/h5utils/Makefile b/science/h5utils/Makefile
index f780305..48fd155 100644
--- a/science/h5utils/Makefile
+++ b/science/h5utils/Makefile
@@ -15,8 +15,7 @@ LICENSE_COMB= multi
LICENSE_FILE= ${WRKSRC}/LICENSE
GNU_CONFIGURE= YES
-CFLAGS += -L${LOCALBASE}/lib -I${LOCALBASE}/include \
- ${PTHREAD_LIBS}
+CFLAGS += -L${LOCALBASE}/lib -I${LOCALBASE}/include -lpthread
BUILD_DEPENDS+= gawk:${PORTSDIR}/lang/gawk
LIB_DEPENDS+= libhdf5.so:${PORTSDIR}/science/hdf5 \
diff --git a/science/mpb/Makefile b/science/mpb/Makefile
index 272cc88..67d2546 100644
--- a/science/mpb/Makefile
+++ b/science/mpb/Makefile
@@ -43,7 +43,7 @@ CONFIGURE_ARGS+= --with-lapack=-llapack
.endif
post-patch:
- @${REINPLACE_CMD} -e 's|-lhdf5 |-lhdf5 ${PTHREAD_LIBS} |g' \
+ @${REINPLACE_CMD} -e 's|-lhdf5 |-lhdf5 -lpthread |g' \
${WRKSRC}/configure
@${REINPLACE_CMD} \
-e '/INSTALL/s/$$(prefix)/$$(DESTDIR)$$(prefix)/' \
diff --git a/science/mpqc/Makefile b/science/mpqc/Makefile
index 3d12dc8..c3f3081 100644
--- a/science/mpqc/Makefile
+++ b/science/mpqc/Makefile
@@ -75,7 +75,7 @@ CONFIGURE_ARGS+=--with-libs="-lsvml"
.if ${PORT_OPTIONS:MMPICH}
CONFIGURE_ARGS+=--enable-always-use-mpi
-CONFIGURE_ENV+= PTHREAD_LIBS="${PTHREAD_LIBS}"
+CONFIGURE_ENV+= PTHREAD_LIBS=-lpthread
.endif
.if ${PORT_OPTIONS:MOPTIFLAGS}
diff --git a/science/ncs/Makefile b/science/ncs/Makefile
index 590b893..6769c6b 100644
--- a/science/ncs/Makefile
+++ b/science/ncs/Makefile
@@ -32,7 +32,7 @@ CONFIGURE_ENV= MPI_LIBS="${MPI_LIBS}" \
PYEXE="${PYTHON_CMD}"
CONFIGURE_ARGS= --with-blas-libs="${BLASLIB} ${LAPACKLIB}"
MAKE_ENV= NOM_ARCH=${OPSYS} CS_MPI_PATH=${MPI_HOME}/bin \
- PTHREAD_LIBS=${PTHREAD_LIBS} TERM=${TERM} \
+ PTHREAD_LIBS=-lpthread TERM=${TERM} \
MPI_HOME=${MPI_HOME} MPI_LIBS="${MPI_LIBS}"
USE_LDCONFIG= yes
@@ -88,7 +88,7 @@ MPI_LIBS= -lmpi -lorte -lopal
MPI_HOME= ${LOCALBASE}
BUILD_DEPENDS+= ${MPI_HOME}/bin/mpicc:${PORTSDIR}/net/mpich2
RUN_DEPENDS+= ${MPI_HOME}/bin/mpirun:${PORTSDIR}/net/mpich2
-MPI_LIBS= -lmpich -lmpl ${PTHREAD_LIBS}
+MPI_LIBS= -lmpich -lmpl -lpthread
.endif
.if ${PORT_OPTIONS:MDOCS}
diff --git a/science/vmd/Makefile b/science/vmd/Makefile
index 102407c..8024bf8 100644
--- a/science/vmd/Makefile
+++ b/science/vmd/Makefile
@@ -65,17 +65,20 @@ do-extract:
${TAR} -xzf ${DISTDIR}/${STRIDE_DIST} -C ${WRKSRC}/lib/stride
post-patch:
- ${REINPLACE_CMD} "s/-lpthread/${PTHREAD_LIBS}/" ${WRKSRC}/configure
- ${REINPLACE_CMD} "s/-ltk8.5/-ltk85/" ${WRKSRC}/configure
- ${REINPLACE_CMD} "s/-ltcl8.5/-ltcl85/" ${WRKSRC}/configure
- ${REINPLACE_CMD} "s%\$$python_dir/lib_\$$config_arch%${PREFIX}%" ${WRKSRC}/configure
- ${REINPLACE_CMD} "s/python2.5/${PYTHON_VERSION}/" ${WRKSRC}/configure
- ${REINPLACE_CMD} "s/.SILENT:/#.SILENT:/" ${WRKDIR}/plugins/Makefile
+ ${REINPLACE_CMD} \
+ -e "s|-ltk8.5|-ltk85|" \
+ -e "s|-ltcl8.5|-ltcl85|" \
+ -e "s%\$$python_dir/lib_\$$config_arch%${PREFIX}%" \
+ -e "s|python2.5|${PYTHON_VERSION}|" \
+ -e "s|%%PREFIX%%|${PREFIX}|g" \
+ -e "s|/usr/local|${LOCALBASE}|g" \
+ ${WRKSRC}/configure
+ ${REINPLACE_CMD} "s/\"gcc\"/\"${CC}\"/;s/\"g++\"/\"${CXX}\"/" \
+ ${WRKSRC}/configure
+ ${REINPLACE_CMD} -e "s/.SILENT:/#.SILENT:/" ${WRKDIR}/plugins/Makefile
${REINPLACE_CMD} "s/.SILENT:/#.SILENT:/" ${WRKDIR}/plugins/*/Makefile
- ${REINPLACE_CMD} "s%log2f(\([^ ,]*\))%logf(\1)/(float)M_LN2%g" ${WRKSRC}/src/Orbital.C
- ${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" \
- -e "s|/usr/local|${LOCALBASE}|g" ${WRKSRC}/configure
- ${REINPLACE_CMD} "s/\"gcc\"/\"${CC}\"/;s/\"g++\"/\"${CXX}\"/" ${WRKSRC}/configure
+ ${REINPLACE_CMD} "s%log2f(\([^ ,]*\))%logf(\1)/(float)M_LN2%g" \
+ ${WRKSRC}/src/Orbital.C
${REINPLACE_CMD} -E "s/(SHLD[[:space:]]*=[[:space:]]*)gcc/\1${CC}/" \
${WRKDIR}/plugins/Make-arch
${REINPLACE_CMD} -E "s/(CC[[:space:]]*=[[:space:]]*)(gcc|cc)/\1${CC}/" \
OpenPOWER on IntegriCloud