1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Remove PTHREAD_LIBS, PTHREAD_CFLAGS from my ports

This commit is contained in:
Dmitry Marakasov 2015-03-25 18:30:25 +00:00
parent 0ae20ec92e
commit 0cf23c9e42
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=382258
10 changed files with 11 additions and 11 deletions

View File

@ -17,7 +17,7 @@ USE_AUTOTOOLS= autoconf
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
CONFIGURE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}" PTHREAD_CFLAGS="${PTHREAD_CFLAGS}"
CONFIGURE_ENV= PTHREAD_LIBS="-pthread"
CPPFLAGS+= -I${LOCALBASE}/include/speex -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
@ -71,7 +71,7 @@ CONFIGURE_REPLACES+='/AC_CHECK_HEADER/ s|speex|no_&|'
post-patch:
@${REINPLACE_CMD} ${CONFIGURE_REPLACES:C/.*/-e &/} \
-e 's|-lpthread|${PTHREAD_LIBS}|' \
-e 's|-lpthread|-pthread|' \
${WRKSRC}/configure.in
post-install:

View File

@ -19,7 +19,7 @@ USES= gmake
USE_SDL= sdl mixer
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= ${PTHREAD_LIBS} -L${LOCALBASE}/lib
LDFLAGS+= -L${LOCALBASE}/lib -pthread
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= *

View File

@ -89,7 +89,7 @@ EXTRA_PATCHES+= ${FILESDIR}/extra-patch-irrlichtdepend
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
${WRKSRC}/cmake/Modules/*.cmake
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|' \
@${REINPLACE_CMD} -e 's|-lpthread|-pthread|' \
${WRKSRC}/src/CMakeLists.txt
.if ! ${PORT_OPTIONS:MLUAJIT}
@${REINPLACE_CMD} -e '/find_/ s|LUA_|NO&|g' \

View File

@ -19,7 +19,7 @@ USE_SDL= sdl image
INSTALLS_ICONS= yes
CONFIGURE_ENV= AUTOMAKE="${TRUE}" ACLOCAL="${TRUE}" MISSING="${TRUE}"
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
LDFLAGS+= -L${LOCALBASE}/lib -pthread
CPPFLAGS+= -I${LOCALBASE}/include -DINSTALL_BASE_PATH=\"\\\"${DATADIR}\\\"\"
WRKSRC= ${WRKDIR}/${PORTNAME}

View File

@ -15,7 +15,7 @@ USE_SDL= mixer sdl
USES= gmake tar:tgz
GNU_CONFIGURE= yes
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
LDFLAGS+= -L${LOCALBASE}/lib -pthread
CPPFLAGS+= -I${LOCALBASE}/include
WRKSRC= ${WRKDIR}/Pachi

View File

@ -19,7 +19,7 @@ PLIST_FILES= bin/${PORTNAME}
PORTDATA= *
post-patch:
@${REINPLACE_CMD} -e 's|^\(PLATFORM_LINK_FLAGS =\).*|\1 ${PTHREAD_LIBS}|' \
@${REINPLACE_CMD} -e 's|^\(PLATFORM_LINK_FLAGS =\).*|\1 -pthread|' \
${WRKSRC}/Makefile.GnuLinux
@${REINPLACE_CMD} -e 's|"graphics"|"${DATADIR}/graphics"|' \
${WRKSRC}/common.cpp

View File

@ -15,7 +15,7 @@ GNU_CONFIGURE= yes
USES= gmake
USE_SDL= sdl
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
LDFLAGS+= -L${LOCALBASE}/lib -pthread
PLIST_FILES= bin/pengupop

View File

@ -16,7 +16,7 @@ USE_SDL= sdl
USE_GL= gl glu
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
LDFLAGS+= -L${LOCALBASE}/lib -pthread
PLIST_FILES= bin/${PORTNAME} \
share/applications/${PORTNAME}.desktop \

View File

@ -54,7 +54,7 @@ DESKTOP_ENTRIES="Teeworlds" \
post-patch:
@${REINPLACE_CMD} -e 's|"python "|"${PYTHON_CMD} "|' \
${WRKSRC}/bam.lua
@${REINPLACE_CMD} -e 's|-O.||; s|-lpthread|${PTHREAD_LIBS}|; s|^gcc|${CC} ${CFLAGS}|; s|-ldl||g' \
@${REINPLACE_CMD} -e 's|-O.||; s|-lpthread|-pthread|; s|^gcc|${CC} ${CFLAGS}|; s|-ldl||g' \
${BAM_WRKSRC}/make_unix.sh
@${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|' ${WRKSRC}/other/sdl/sdl.lua
@${REINPLACE_CMD} -e '/aDirs\[\]/,/}/ s|"/.*"|"${DATADIR}"|' \

View File

@ -21,7 +21,7 @@ USE_SDL= sdl image
USE_GL= gl glu
CPPFLAGS+= -I${LOCALBASE}/include/freetype2 -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
LDFLAGS+= -L${LOCALBASE}/lib -pthread
CONFIGURE_ARGS= --with-icondir="${PREFIX}/share/pixmaps"
PORTDOCS= *