svn commit: r336735 - head/security/ssh_askpass_gtk2

Guido Falsi madpilot at FreeBSD.org
Tue Dec 17 15:57:48 UTC 2013


Author: madpilot
Date: Tue Dec 17 15:57:48 2013
New Revision: 336735
URL: http://svnweb.freebsd.org/changeset/ports/336735

Log:
  - Fix build on 10 and head due to new ld behavior
  - Stagify
  
  PR:		ports/184926
  Submitted by:	me
  Approved by:	arved (maintainer, via email)

Modified:
  head/security/ssh_askpass_gtk2/Makefile   (contents, props changed)

Modified: head/security/ssh_askpass_gtk2/Makefile
==============================================================================
--- head/security/ssh_askpass_gtk2/Makefile	Tue Dec 17 15:50:00 2013	(r336734)
+++ head/security/ssh_askpass_gtk2/Makefile	Tue Dec 17 15:57:48 2013	(r336735)
@@ -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>


More information about the svn-ports-head mailing list