Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Nov 2013 11:47:06 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333083 - in head/net/wpa_gui: . files
Message-ID:  <201311071147.rA7Bl68s056906@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Nov  7 11:47:06 2013
New Revision: 333083
URL: http://svnweb.freebsd.org/changeset/ports/333083

Log:
  - Support staging
  - Fix build on CURRENT
  
  PR:		182452
  Submitted by:	amdmi3
  Approved by:	Ilya Bakulin <webmaster@kibab.com> (maintainer)

Modified:
  head/net/wpa_gui/Makefile
  head/net/wpa_gui/files/patch-wpagui.cpp

Modified: head/net/wpa_gui/Makefile
==============================================================================
--- head/net/wpa_gui/Makefile	Thu Nov  7 11:46:03 2013	(r333082)
+++ head/net/wpa_gui/Makefile	Thu Nov  7 11:47:06 2013	(r333083)
@@ -21,7 +21,6 @@ WRKSRC=		${WRKDIR}/${DISTNAME}/wpa_suppl
 USE_QT4=	gui moc_build qmake_build rcc_build uic_build
 HAS_CONFIGURE=	yes
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e "s|Exec=wpa_gui|Exec=${PREFIX}/sbin/wpa_gui|" \
 	    ${WRKSRC}/wpa_gui.desktop
@@ -32,8 +31,8 @@ do-configure:
 		${QMAKE} ${QMAKEFLAGS} PREFIX=${PREFIX}
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin
-	${INSTALL_DATA} ${WRKSRC}/wpa_gui.desktop ${PREFIX}/share/applications
-	${INSTALL_DATA} ${WRKSRC}/icons/wpa_gui.svg ${PREFIX}/share/pixmaps
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
+	${INSTALL_DATA} ${WRKSRC}/wpa_gui.desktop ${STAGEDIR}${PREFIX}/share/applications
+	${INSTALL_DATA} ${WRKSRC}/icons/wpa_gui.svg ${STAGEDIR}${PREFIX}/share/pixmaps
 
 .include <bsd.port.mk>

Modified: head/net/wpa_gui/files/patch-wpagui.cpp
==============================================================================
--- head/net/wpa_gui/files/patch-wpagui.cpp	Thu Nov  7 11:46:03 2013	(r333082)
+++ head/net/wpa_gui/files/patch-wpagui.cpp	Thu Nov  7 11:47:06 2013	(r333083)
@@ -1,5 +1,5 @@
---- wpagui.cpp.orig	2010-09-07 15:43:39.000000000 +0000
-+++ wpagui.cpp
+--- wpagui.cpp.orig	2010-09-07 19:43:39.000000000 +0400
++++ wpagui.cpp	2013-11-07 14:07:50.086773239 +0400
 @@ -12,10 +12,7 @@
   * See README and COPYING for more details.
   */
@@ -11,3 +11,12 @@
  
  #ifdef CONFIG_NATIVE_WINDOWS
  #include <windows.h>
+@@ -27,6 +24,8 @@
+ #include <QImageReader>
+ #include <QSettings>
+ 
++#include <getopt.h>
++
+ #include "wpagui.h"
+ #include "dirent.h"
+ #include "common/wpa_ctrl.h"



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