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:
parent
0ae20ec92e
commit
0cf23c9e42
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=382258
@ -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:
|
||||
|
@ -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= *
|
||||
|
@ -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' \
|
||||
|
@ -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}
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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 \
|
||||
|
@ -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}"|' \
|
||||
|
@ -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= *
|
||||
|
Loading…
Reference in New Issue
Block a user