1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00

Fix build with GTK 2.4

This commit is contained in:
Alexander Nedotsukov 2004-04-14 14:34:59 +00:00
parent f670ccff32
commit 38e8e9f60f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=107021

View File

@ -35,7 +35,8 @@ DOCSDIR= ${PREFIX}/share/doc/d4x
post-patch:
@${REINPLACE_CMD} -e 's| $$OPTFLAGS||g ; \
s|OS_CXXFLAGS="-pthread"|OS_CXXFLAGS="${PTHREAD_CFLAGS}"|g ; \
s|-pthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
s|-pthread|${PTHREAD_LIBS}|g ; \
s|#define GTK_DISABLE_DEPRECATED||' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's| DOC||g ; \
s| share||g' ${WRKSRC}/Makefile.in