mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-02 11:09:29 +00:00
Do not explicitly link in libc_r on all versions of FreeBSD.
This commit is contained in:
parent
51051cb338
commit
560d3b241a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=85076
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= gnet
|
||||
PORTVERSION= 1.1.9
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://www.gnetlibrary.org/src/
|
||||
PKGNAMESUFFIX= -glib2
|
||||
@ -40,6 +41,8 @@ post-patch:
|
||||
# install configincludedir correctly
|
||||
@${REINPLACE_CMD} -E -e 's|^(configincludedir).+$$|\1=\$$\(pkgincludedir\)-glib2|' \
|
||||
${WRKSRC}/Makefile.in
|
||||
@${REINPLACE_CMD} -e 's|-lc_r|${PTHREAD_LIBS}|g' \
|
||||
${WRKSRC}/configure
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${PREFIX}/bin
|
||||
|
Loading…
x
Reference in New Issue
Block a user