summaryrefslogtreecommitdiff
path: root/security/ssh/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/ssh/Makefile')
-rw-r--r--security/ssh/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/security/ssh/Makefile b/security/ssh/Makefile
index 46ae6feeae7c..b637269eebea 100644
--- a/security/ssh/Makefile
+++ b/security/ssh/Makefile
@@ -143,4 +143,12 @@ LIB_DEPENDS+= wrap.7:${PORTSDIR}/security/tcp_wrapper
CONFIGURE_ARGS+= --with-socks="-L${PREFIX}/lib -lsocks5" --with-socks5
.endif
+# Include extra files if X11 is installed
+.if exists(${X11BASE}/lib/libX11.a)
+PLIST:= ${WRKDIR}/PLIST
+pre-install:
+ @${CAT} ${PKGDIR}/PLIST.X11 > ${PLIST}
+ @${CAT} ${PKGDIR}/PLIST >> ${PLIST}
+.endif
+
.include <bsd.port.post.mk>