mirror of
https://git.freebsd.org/ports.git
synced 2025-05-20 11:03:09 -04:00
Add USES=compiler:c++11-lang, this port adds -std=c++11 to CPPFLAGS.
Don't add --stdlib=libc++ to CXXFLAGS, Clang uses it by default and GCC can't use libc++. Don't set CC, CXX, CPP, those are set by the ports tree. Add a define for __ppc__. While here, pet portlint. PR: 236799 Submitted by: Piotr Kubaj Approved by: portmgr (tier-2 blanket)
This commit is contained in:
parent
64941d8e94
commit
faf50ea528
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=497148
2 changed files with 18 additions and 5 deletions
|
@ -10,17 +10,17 @@ COMMENT= Popular secure and convenient password manager
|
||||||
|
|
||||||
LICENSE= ART20
|
LICENSE= ART20
|
||||||
|
|
||||||
|
NOT_FOR_ARCHS= aarch64 armv6 armv7
|
||||||
|
NOT_FOR_ARCHS_REASON= Cannot determine whether the target CPU is big or little endian - please fix PwsPlatform.h
|
||||||
|
|
||||||
LIB_DEPENDS= libuuid.so:misc/e2fsprogs-libuuid \
|
LIB_DEPENDS= libuuid.so:misc/e2fsprogs-libuuid \
|
||||||
libxerces-c.so:textproc/xerces-c3 \
|
libxerces-c.so:textproc/xerces-c3 \
|
||||||
libqrencode.so:graphics/libqrencode
|
libqrencode.so:graphics/libqrencode
|
||||||
BUILD_DEPENDS= zip:archivers/zip
|
BUILD_DEPENDS= zip:archivers/zip
|
||||||
|
|
||||||
NOT_FOR_ARCHS= aarch64 armv6 armv7
|
|
||||||
NOT_FOR_ARCHS_REASON= Cannot determine whether the target CPU is big or little endian - please fix PwsPlatform.h
|
|
||||||
|
|
||||||
CONFLICTS= pwsafe-[0-9]*
|
CONFLICTS= pwsafe-[0-9]*
|
||||||
|
|
||||||
USES= gmake
|
USES= compiler:c++11-lang gmake
|
||||||
USE_GITHUB= yes
|
USE_GITHUB= yes
|
||||||
USE_WX= 3.0+
|
USE_WX= 3.0+
|
||||||
USE_XORG= x11 xtst
|
USE_XORG= x11 xtst
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
--- Makefile.freebsd.orig 2017-05-01 15:10:07 UTC
|
--- Makefile.freebsd.orig 2017-10-07 17:53:15 UTC
|
||||||
+++ Makefile.freebsd
|
+++ Makefile.freebsd
|
||||||
@@ -34,8 +34,6 @@ GIT := git
|
@@ -34,8 +34,6 @@ GIT := git
|
||||||
GZIP := gzip
|
GZIP := gzip
|
||||||
|
@ -9,3 +9,16 @@
|
||||||
GPG := /usr/local/bin/gpg
|
GPG := /usr/local/bin/gpg
|
||||||
GPG_SIGN := $(GPG) --detach-sign --default-key $(GPG_KEY)
|
GPG_SIGN := $(GPG) --detach-sign --default-key $(GPG_KEY)
|
||||||
SIGN_CMD := $(foreach file, $(wildcard $(RELEASEDIR)/*$(RELEASENAME)*), $(GPG_SIGN) $(file); )
|
SIGN_CMD := $(foreach file, $(wildcard $(RELEASEDIR)/*$(RELEASENAME)*), $(GPG_SIGN) $(file); )
|
||||||
|
@@ -46,11 +44,8 @@ SF_UPLOAD_DST := $(SF_UPLOAD_ROOT)/Linux-BETA/$(RELEAS
|
||||||
|
RELTAG = wx$(subst .,_,$(RELEASENAME))
|
||||||
|
|
||||||
|
export CPPFLAGS += -std=c++11
|
||||||
|
-export CXXFLAGS += --stdlib=libc++ -I/usr/local/include
|
||||||
|
+export CXXFLAGS += -I/usr/local/include
|
||||||
|
export CFLAGS += -I/usr/local/include
|
||||||
|
-export CC = clang
|
||||||
|
-export CXX = clang++
|
||||||
|
-export CPP = clang++
|
||||||
|
export PLATFORM = FreeBSD
|
||||||
|
|
||||||
|
all: I18N unicodedebug unicoderelease
|
||||||
|
|
Loading…
Add table
Reference in a new issue