Fix the build on amd64/6-stable.

Reported by:	pavmail
This commit is contained in:
Alexey Dokuchaev 2010-07-19 07:13:04 +00:00
parent e16f50ec36
commit 2a613dc0c7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=257945

View file

@ -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__,' \