mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-02 11:09:29 +00:00
Allow this port to build with GTK+ deprecation.
This commit is contained in:
parent
808cbce4cb
commit
20e1530ce4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=225755
@ -61,6 +61,8 @@ post-patch:
|
||||
${WRKSRC}/data/Makefile.in
|
||||
@${REINPLACE_CMD} -e 's|libmusicbrainz.so.4|libmusicbrainz.so|g' \
|
||||
${WRKSRC}/src/muine.exe.config.in
|
||||
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -E -e \
|
||||
's|-DG.*_DISABLE_DEPRECATED||g'
|
||||
|
||||
post-install:
|
||||
${MKDIR} ${PREFIX}/lib/muine/plugins
|
||||
|
@ -78,6 +78,8 @@ post-patch:
|
||||
${REINPLACE_CMD} -e 's|-llualib||g' ${WRKSRC}/mysql-gui-common/configure \
|
||||
${WRKSRC}/mysql-gui-common/source/php/Makefile \
|
||||
${WRKSRC}/mysql-gui-common/source/php/modules/Makefile
|
||||
${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -E -e \
|
||||
's|-DG.*_DISABLE_DEPRECATED||g'
|
||||
.if defined(WITHOUT_NLS)
|
||||
${REINPLACE_CMD} -e '/^SUBDIRS/s|po||' \
|
||||
${WRKSRC}/mysql-gui-common/Makefile.am \
|
||||
|
@ -25,4 +25,8 @@ LDFLAGS= -L${LOCALBASE}/lib
|
||||
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
MAN6= ${PORTNAME}.6
|
||||
|
||||
post-patch:
|
||||
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -E -e \
|
||||
's|-DG.*_DISABLE_DEPRECATED||g'
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -29,5 +29,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
post-patch:
|
||||
@${FIND} ${WRKSRC} -name "*.[ch]" | ${XARGS} ${REINPLACE_CMD} -e \
|
||||
's|malloc\.h|stdlib.h|g'
|
||||
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -E -e \
|
||||
's|-DG.*_DISABLE_DEPRECATED||g'
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
x
Reference in New Issue
Block a user