aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2013-12-17 15:57:48 +0000
committerGuido Falsi <madpilot@FreeBSD.org>2013-12-17 15:57:48 +0000
commit7dd7166206e1fe6a71629371eb2c57a976c8fc20 (patch)
tree2e6c05bcb33baa90a3a6b140467c240476e865e2
parentb6deea239c30bc749f92ee8a4c230fd5bc94afb8 (diff)
Notes
-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>