diff options
author | adamw <adamw@FreeBSD.org> | 2004-04-05 20:59:13 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2004-04-05 20:59:13 +0800 |
commit | 03253c0831e62c2446f526cfc38fa00250e81e1f (patch) | |
tree | d13d7898d986de302b0f8d585f6969ab12b8ddd8 /biology | |
parent | 6c6924860c8a8bcac52888593dd1f11830c6dd7a (diff) | |
download | freebsd-ports-gnome-03253c0831e62c2446f526cfc38fa00250e81e1f.tar.gz freebsd-ports-gnome-03253c0831e62c2446f526cfc38fa00250e81e1f.tar.zst freebsd-ports-gnome-03253c0831e62c2446f526cfc38fa00250e81e1f.zip |
Fix build with gtk 2.4.
Diffstat (limited to 'biology')
-rw-r--r-- | biology/gperiodic/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/biology/gperiodic/Makefile b/biology/gperiodic/Makefile index 519e9bb963dd..9017c2ae676e 100644 --- a/biology/gperiodic/Makefile +++ b/biology/gperiodic/Makefile @@ -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 |