mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Fix the build on amd64/6-stable.
Reported by: pavmail
This commit is contained in:
parent
e16f50ec36
commit
2a613dc0c7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=257945
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ post-patch:
|
|||
# remove superfluous libraries when linking server executable, etc.
|
||||
@${REINPLACE_CMD} -E -e 's,(ccache )?g\+\+,$$(CXX) $$(CXXFLAGS),' \
|
||||
-e 's,-O2,, ; s,-g,, ; s,/usr/X11R6,${LOCALBASE},' \
|
||||
-e 's,-mt,,g ; /server/s,`.*mixer,,' \
|
||||
-e 's,-mt,,g ; /server/s,`.*mixer,${PTHREAD_LIBS},' \
|
||||
-e '/server/s,-lX11,,' ${WRKSRC}/Makefile
|
||||
# Point to the right location where look for the resources on FreeBSD
|
||||
@${REINPLACE_CMD} -e 's,HAVE_CONFIG_H,__FreeBSD__,' \
|
||||
|
|
Loading…
Add table
Reference in a new issue