aboutsummaryrefslogtreecommitdiffstats
path: root/net/wireshark
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2015-11-23 23:01:42 +0800
committermarcus <marcus@FreeBSD.org>2015-11-23 23:01:42 +0800
commitda66a26a28b10f2f4b1121e4cab46bec1e449e36 (patch)
tree885ef8be9906f8fe8636b9045ebb171677ff7f28 /net/wireshark
parentcfd4b9c014bc3aab358599e01b7d7de910d31e8a (diff)
downloadfreebsd-ports-gnome-da66a26a28b10f2f4b1121e4cab46bec1e449e36.tar.gz
freebsd-ports-gnome-da66a26a28b10f2f4b1121e4cab46bec1e449e36.tar.zst
freebsd-ports-gnome-da66a26a28b10f2f4b1121e4cab46bec1e449e36.zip
Be a bit more selective with the port-install to fix tshark.
PR: 204765
Diffstat (limited to 'net/wireshark')
-rw-r--r--net/wireshark/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/wireshark/Makefile b/net/wireshark/Makefile
index 882b69596e05..3baaf06f8766 100644
--- a/net/wireshark/Makefile
+++ b/net/wireshark/Makefile
@@ -154,8 +154,10 @@ post-patch:
s|{apps,mimetypes}|apps $$(DESTDIR)${LOCALBASE}/share/icons/hicolor/$$$${size}x$$$${size}/mimetypes|' \
${WRKSRC}/Makefile.in
-post-install-QT5-off:
+.if ${PORT_OPTIONS:MGTK2} || ${PORT_OPTIONS:MGTK3}
+post-install:
${MV} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-gtk \
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+.endif
.include <bsd.port.mk>