aboutsummaryrefslogtreecommitdiff
path: root/biology
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2004-04-05 12:59:13 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2004-04-05 12:59:13 +0000
commitf9af6da84e06a472efc0318c30e402ea2f5664c8 (patch)
tree1982f5a092816290eb44e53087390f8290bb5014 /biology
parent36c6be8eb7ce5034efc79c7a6bbd77f84547c313 (diff)
downloadports-f9af6da84e06a472efc0318c30e402ea2f5664c8.tar.gz
ports-f9af6da84e06a472efc0318c30e402ea2f5664c8.zip
Notes
Diffstat (limited to 'biology')
-rw-r--r--biology/gperiodic/Makefile7
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