mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Fix build with gtk 2.4.
This commit is contained in:
parent
36c6be8eb7
commit
f9af6da84e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=106233
1 changed files with 6 additions and 1 deletions
|
@ -16,11 +16,16 @@ COMMENT= Displays a periodic table of the elements
|
||||||
|
|
||||||
USE_X_PREFIX= yes
|
USE_X_PREFIX= yes
|
||||||
USE_GNOME= gtk20
|
USE_GNOME= gtk20
|
||||||
MAKE_ARGS= CC="${CC} ${CFLAGS}"
|
|
||||||
ALL_TARGET= ${PORTNAME}
|
ALL_TARGET= ${PORTNAME}
|
||||||
|
USE_REINPLACE= yes
|
||||||
|
|
||||||
LANGS= da fr pl sv tr
|
LANGS= da fr pl sv tr
|
||||||
|
|
||||||
|
post-patch:
|
||||||
|
@${REINPLACE_CMD} -e "s|^CFLAGS=|CFLAGS+=|; \
|
||||||
|
s|-DGTK_DISABLE_DEPRECATED||" \
|
||||||
|
${WRKSRC}/Makefile
|
||||||
|
|
||||||
post-build:
|
post-build:
|
||||||
.for lang in ${LANGS}
|
.for lang in ${LANGS}
|
||||||
cd ${WRKSRC}/po && msgfmt -f -v -o ${lang}.mo ${lang}.po
|
cd ${WRKSRC}/po && msgfmt -f -v -o ${lang}.mo ${lang}.po
|
||||||
|
|
Loading…
Add table
Reference in a new issue