aboutsummaryrefslogtreecommitdiffstats
path: root/www/screem/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/screem/Makefile')
-rw-r--r--www/screem/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/www/screem/Makefile b/www/screem/Makefile
index c9a583fdde34..6b8419215ea2 100644
--- a/www/screem/Makefile
+++ b/www/screem/Makefile
@@ -21,7 +21,6 @@ USE_X_PREFIX= yes
USE_GNOME= desktopfileutils gnomehack gnomemenus gnomeprefix gnometarget \
gtksourceview intlhack libgnomeprintui libgnomeui libgtkhtml
USE_XPM= yes
-USE_REINPLACE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
@@ -45,7 +44,10 @@ CONFIGURE_ARGS+= --enable-enchant
.endif
post-patch:
- @${REINPLACE_CMD} -e 's|$${DATADIRNAME}/$${PACKAGE}|$${DATADIRNAME}/gnome/$${PACKAGE}|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|$${DATADIRNAME}/$${PACKAGE}|$${DATADIRNAME}/gnome/$${PACKAGE}|g ; \
+ s|-DGNOME_DISABLE_DEPRECATED||g ; \
+ s|-DGNOMEUI_DISABLE_DEPRECATED||g ; \
+ s|-DGTK_DISABLE_DEPRECATED||g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|\&\& make|\&\& $$(MAKE)|g' ${WRKSRC}/tests/Makefile.in
.include <bsd.port.mk>