mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
- use PTHREAD_CFLAGS and PTHREAD_LIBS everywhere
- drop -lc
This commit is contained in:
parent
4b0c0c8ed5
commit
bde865c332
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=101184
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= base
|
||||
PORTVERSION= ${LICQ_VER}
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= net
|
||||
.if defined(WITH_SOCKS)
|
||||
PKGNAMESUFFIX= -socks
|
||||
@ -46,17 +46,15 @@ pre-configure:
|
||||
${WRKSRC}/src/licq.conf.h
|
||||
@${ECHO_MSG} Ignoring existing libgnugetopt
|
||||
${REINPLACE_CMD} -e 's=getopt.h==' \
|
||||
-e 's=FLAGS -D_THREAD_SAFE=FLAGS ${PTHREAD_CFLAGS}=' \
|
||||
-e 's=FLAGS -pthread=FLAGS ${PTHREAD_CFLAGS}=' \
|
||||
-e "s=-lc_r=${PTHREAD_LIBS}=" \
|
||||
-e 's=-lc *$$LIBS=$$LIBS=' \
|
||||
${WRKSRC}/configure
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 502102
|
||||
FORBIDDEN= "Does not respect PTHREAD_{CFLAGS,LIBS}"
|
||||
.endif
|
||||
|
||||
.include "${LICQ_PORT}/Makefile.inc"
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= base
|
||||
PORTVERSION= ${LICQ_VER}
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= net
|
||||
.if defined(WITH_SOCKS)
|
||||
PKGNAMESUFFIX= -socks
|
||||
@ -46,17 +46,15 @@ pre-configure:
|
||||
${WRKSRC}/src/licq.conf.h
|
||||
@${ECHO_MSG} Ignoring existing libgnugetopt
|
||||
${REINPLACE_CMD} -e 's=getopt.h==' \
|
||||
-e 's=FLAGS -D_THREAD_SAFE=FLAGS ${PTHREAD_CFLAGS}=' \
|
||||
-e 's=FLAGS -pthread=FLAGS ${PTHREAD_CFLAGS}=' \
|
||||
-e "s=-lc_r=${PTHREAD_LIBS}=" \
|
||||
-e 's=-lc *$$LIBS=$$LIBS=' \
|
||||
${WRKSRC}/configure
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 502102
|
||||
FORBIDDEN= "Does not respect PTHREAD_{CFLAGS,LIBS}"
|
||||
.endif
|
||||
|
||||
.include "${LICQ_PORT}/Makefile.inc"
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user