Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Dec 2013 15:57:48 +0000 (UTC)
From:      Guido Falsi <madpilot@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r336735 - head/security/ssh_askpass_gtk2
Message-ID:  <201312171557.rBHFvm7W033054@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312171557.rBHFvm7W033054>