aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2013-12-17 16:44:02 +0000
committerGuido Falsi <madpilot@FreeBSD.org>2013-12-17 16:44:02 +0000
commitb8d7d61a9890568a3510c3066f16b5ba4df72d3a (patch)
tree80add6430a268618d3ea9f23a890b699ba881fe9
parent193837887cc481407272cb04fa0d59249588b555 (diff)
downloadports-b8d7d61a9890568a3510c3066f16b5ba4df72d3a.tar.gz
ports-b8d7d61a9890568a3510c3066f16b5ba4df72d3a.zip
MFH: r336735
- Fix build on 10 and head due to new ld behavior - Stagify PR: ports/184926 Submitted by: me Approved by: arved (maintainer, via email) Approved by: portmgr (bapt)
Notes
Notes: svn path=/branches/2014Q1/; revision=336742
-rw-r--r--security/ssh_askpass_gtk2/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/security/ssh_askpass_gtk2/Makefile b/security/ssh_askpass_gtk2/Makefile
index 24329682ff65..cc1cb4d4f4a2 100644
--- a/security/ssh_askpass_gtk2/Makefile
+++ b/security/ssh_askpass_gtk2/Makefile
@@ -19,12 +19,12 @@ USES= pkgconfig
PLIST_FILES= bin/ssh-askpass-fullscreen
-NO_STAGE= yes
post-patch:
- ${REINPLACE_CMD} -e "s,gcc,${CC}," ${WRKSRC}/Makefile
+ ${REINPLACE_CMD} -e "s,gcc,${CC}," \
+ -e "/${CC}/s,$$, -lX11," ${WRKSRC}/Makefile
do-install:
cd ${WRKSRC};\
- ${INSTALL_PROGRAM} ssh-askpass-fullscreen ${PREFIX}/bin/ssh-askpass-fullscreen;\
+ ${INSTALL_PROGRAM} ssh-askpass-fullscreen ${STAGEDIR}${PREFIX}/bin/ssh-askpass-fullscreen
.include <bsd.port.mk>