Fix build with gtk 2.4.

This commit is contained in:
Adam Weinberger 2004-04-05 12:59:13 +00:00
parent 36c6be8eb7
commit f9af6da84e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=106233

View file

@ -16,11 +16,16 @@ COMMENT= Displays a periodic table of the elements
USE_X_PREFIX= yes
USE_GNOME= gtk20
MAKE_ARGS= CC="${CC} ${CFLAGS}"
ALL_TARGET= ${PORTNAME}
USE_REINPLACE= yes
LANGS= da fr pl sv tr
post-patch:
@${REINPLACE_CMD} -e "s|^CFLAGS=|CFLAGS+=|; \
s|-DGTK_DISABLE_DEPRECATED||" \
${WRKSRC}/Makefile
post-build:
.for lang in ${LANGS}
cd ${WRKSRC}/po && msgfmt -f -v -o ${lang}.mo ${lang}.po