- This uses c++11 features (for example, std::to_string), so add corresponding compiler requirements and flags
- Add patches to fix missing includes (couldn't find any upstream contants to submit these) - Unfortunately, it's still BROKEN on 9.x as gcc 4.8's stdlibc++ doesn't seem to provide to_string, so mark it as such Submitted by: pkg-fallout Approved by: portmgr blanket
This commit is contained in:
parent
0c007790b8
commit
3d4cdb8e2f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=390654
3 changed files with 26 additions and 2 deletions
|
@ -11,16 +11,19 @@ COMMENT= Simple GUI tool for tracking port updates
|
|||
|
||||
LICENSE= BSD2CLAUSE
|
||||
|
||||
BROKEN_FreeBSD_9= does not build (lacking c++11 support)
|
||||
|
||||
PLIST_FILES= bin/portrac \
|
||||
share/portrac/portrac.png \
|
||||
share/portrac/up-to-date.png \
|
||||
share/portrac/updates-available.png
|
||||
|
||||
USES= qmake tar:bzip2
|
||||
USES= compiler:c++11-lib qmake tar:bzip2
|
||||
USE_CXXSTD= c++11
|
||||
USE_QT5= widgets buildtools_build
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKDIR}/${DISTNAME}/portrac ${STAGEDIR}${PREFIX}/bin && \
|
||||
${INSTALL_PROGRAM} ${WRKDIR}/${DISTNAME}/portrac ${STAGEDIR}${PREFIX}/bin && \
|
||||
${MKDIR} ${STAGEDIR}${DATADIR} && \
|
||||
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/*.png ${STAGEDIR}${DATADIR}
|
||||
|
||||
|
|
11
ports-mgmt/portrac/files/patch-PortChecker.cc
Normal file
11
ports-mgmt/portrac/files/patch-PortChecker.cc
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- PortChecker.cc.orig 2014-09-29 18:19:21 UTC
|
||||
+++ PortChecker.cc
|
||||
@@ -31,6 +31,8 @@
|
||||
#include <string>
|
||||
#include <algorithm>
|
||||
#include <iostream>
|
||||
+#include <cstdio>
|
||||
+#include <cerrno>
|
||||
|
||||
#include <QStringList>
|
||||
|
10
ports-mgmt/portrac/files/patch-Preferences.cc
Normal file
10
ports-mgmt/portrac/files/patch-Preferences.cc
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- Preferences.cc.orig 2014-09-29 18:19:21 UTC
|
||||
+++ Preferences.cc
|
||||
@@ -29,6 +29,7 @@
|
||||
#include <map>
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
+#include <cstdlib>
|
||||
|
||||
#include "Preferences.hh"
|
||||
|
Loading…
Reference in a new issue