summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2015-11-24 04:11:27 +0000
committerJan Beich <jbeich@FreeBSD.org>2015-11-24 04:11:27 +0000
commit49a253ff194ff2d11b2f44d323219f89436f0791 (patch)
tree7e5e40d5069f43fc542aef9510494405cdba1761
parent8af40027a956f5793e467a881e9420bb8b9b65eb (diff)
downloadfreebsd-ports-49a253ff194ff2d11b2f44d323219f89436f0791.zip
x11-toolkits/gtk30: convert to option helpers
Approved by: portmgr blanket
-rw-r--r--x11-toolkits/gtk30/Makefile7
1 files changed, 1 insertions, 6 deletions
diff --git a/x11-toolkits/gtk30/Makefile b/x11-toolkits/gtk30/Makefile
index b2fde00a2a7f..4d637da0b2d1 100644
--- a/x11-toolkits/gtk30/Makefile
+++ b/x11-toolkits/gtk30/Makefile
@@ -78,13 +78,8 @@ DEBUG_CONFIGURE_ENABLE=debug
# GTK+ 3.17 has a beter way
TYPEAHEAD_DESC= Re-enable type-a-head functionality in file chooser
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MTYPEAHEAD}
-EXTRA_PATCHES+= ${FILESDIR}/extra-gtk_gtkfilechooserwidget.c \
+TYPEAHEAD_EXTRA_PATCHES=${FILESDIR}/extra-gtk_gtkfilechooserwidget.c \
${FILESDIR}/extra-gtk_ui_gtkfilechooserwidget.ui
-.endif
post-patch:
@${REINPLACE_CMD} -e 's|[{]libdir[}]/locale|{datadir}/locale|g' \