diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2013-11-07 19:47:06 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2013-11-07 19:47:06 +0800 |
commit | bca30675515ecce996b04b343c1111a4785abac9 (patch) | |
tree | 878e08e674e0c12330d7694f06de93fcc44ed5b5 /net | |
parent | 25288955346f3289ed5edca6d712952c688b2832 (diff) | |
download | freebsd-ports-gnome-bca30675515ecce996b04b343c1111a4785abac9.tar.gz freebsd-ports-gnome-bca30675515ecce996b04b343c1111a4785abac9.tar.zst freebsd-ports-gnome-bca30675515ecce996b04b343c1111a4785abac9.zip |
- Support staging
- Fix build on CURRENT
PR: 182452
Submitted by: amdmi3
Approved by: Ilya Bakulin <webmaster@kibab.com> (maintainer)
Diffstat (limited to 'net')
-rw-r--r-- | net/wpa_gui/Makefile | 7 | ||||
-rw-r--r-- | net/wpa_gui/files/patch-wpagui.cpp | 13 |
2 files changed, 14 insertions, 6 deletions
diff --git a/net/wpa_gui/Makefile b/net/wpa_gui/Makefile index 60d9789157bf..9b56be3d971a 100644 --- a/net/wpa_gui/Makefile +++ b/net/wpa_gui/Makefile @@ -21,7 +21,6 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/wpa_supplicant/wpa_gui-qt4 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> diff --git a/net/wpa_gui/files/patch-wpagui.cpp b/net/wpa_gui/files/patch-wpagui.cpp index 86a9666fce0d..a922338963e2 100644 --- a/net/wpa_gui/files/patch-wpagui.cpp +++ b/net/wpa_gui/files/patch-wpagui.cpp @@ -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" |