This port requires GCC from ports to build on GCC-based architectures.

Additionally, our patch sets unconditionally compiler from base.
Change = to ?=.

While here, pet portlint.

PR:		234161
Submitted by:	Piotr Kubaj
Approved by:	maintainer
This commit is contained in:
Mark Linimon 2018-12-26 22:11:16 +00:00
parent 052592e8a4
commit 2080e0de37
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=488468
2 changed files with 6 additions and 5 deletions

View File

@ -33,11 +33,12 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bsddb>0:databases/py-bsddb@${PY_FLAVOR} \
BUILD_WRKSRC= ${WRKSRC}/linux
INSTALL_WRKSRC= ${WRKSRC}/linux
USE_GNOME= gconf2 gtk20
USE_GSTREAMER= python gconf
USES= gettext gmake pkgconfig desktop-file-utils python:2.7 shared-mime-info shebangfix
USES= compiler:c++11-lang desktop-file-utils gettext gmake gnome \
pkgconfig python:2.7 shared-mime-info shebangfix
SHEBANG_FILES= resources/testdata/7digital-replies/generate.py \
resources/testdata/echonest-replies/generate.py
USE_GNOME= gconf2 gtk20
USE_GSTREAMER= python gconf
USE_PYTHON= distutils
USE_LDCONFIG= yes
INSTALLS_ICONS= yes

View File

@ -6,8 +6,8 @@
UNAME := $(shell uname -s)
-CXX=g++
-CC=gcc
+CXX=c++
+CC=cc
+CXX?=c++
+CC?=cc
#OPTFLAGS=-g -O0
OPTFLAGS=-O3 -DBOOST_UBLAS_NDEBUG -DNDEBUG
-BOOST_CFLAGS=-I/usr/local/include/boost-1_35