aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ninja
diff options
context:
space:
mode:
authorgjb <gjb@FreeBSD.org>2012-06-27 21:50:52 +0800
committergjb <gjb@FreeBSD.org>2012-06-27 21:50:52 +0800
commit69247fa0110ac447c29180e069bc05a7c4cb5640 (patch)
tree8d0e885f5f6ea5531a85e9dd475004719f5fd254 /devel/ninja
parent31500c58171acc6da1d5a81e11cfd8d5b6e43a60 (diff)
downloadfreebsd-ports-gnome-69247fa0110ac447c29180e069bc05a7c4cb5640.tar.gz
freebsd-ports-gnome-69247fa0110ac447c29180e069bc05a7c4cb5640.tar.zst
freebsd-ports-gnome-69247fa0110ac447c29180e069bc05a7c4cb5640.zip
- devel/ninja updated to 2012-06-19 snapshot
- Build ninja with CXXFLAGS from /etc/make.conf and without '-g' PR: ports/169465 Submitted by: Grzegorz Blach <magik@roorback.net> (maintainer) Approved by: crees (mentor)
Diffstat (limited to 'devel/ninja')
-rw-r--r--devel/ninja/Makefile6
-rw-r--r--devel/ninja/distinfo4
-rw-r--r--devel/ninja/files/patch-configure.py11
3 files changed, 16 insertions, 5 deletions
diff --git a/devel/ninja/Makefile b/devel/ninja/Makefile
index 3b1d49a9d97d..9df26544567b 100644
--- a/devel/ninja/Makefile
+++ b/devel/ninja/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= ninja
-PORTVERSION= 20120204
+PORTVERSION= 20120619
CATEGORIES= devel
MASTER_SITES= https://github.com/MagikBSD/ninja/tarball/${DISTVERSION}/
DISTNAME= MagikBSD-${PORTNAME}-${DISTVERSION}-0-g${GITVERSION}
@@ -19,7 +19,7 @@ LICENSE= AL2
CONFLICTS= irc/ninja-[0-9]*
USE_PYTHON= yes
-GITVERSION= ff1c488
+GITVERSION= b3d63db
FETCH_ARGS= -pRr
WRKSRC= ${WRKDIR}/MagikBSD-${PORTNAME}-${GITVERSION}
@@ -27,7 +27,7 @@ PLIST_FILES= bin/ninja
PORTDOCS= COPYING HACKING README manual.asciidoc
do-build:
- @(cd ${WRKSRC}; CXX=${CXX} ./bootstrap.py)
+ @(cd ${WRKSRC}; CXX=${CXX} CFLAGS="${CXXFLAGS}" ./bootstrap.py --verbose)
do-install:
@${INSTALL} -m 755 ${WRKSRC}/ninja ${PREFIX}/bin
diff --git a/devel/ninja/distinfo b/devel/ninja/distinfo
index c08ca2743ac0..bee95bb7cfad 100644
--- a/devel/ninja/distinfo
+++ b/devel/ninja/distinfo
@@ -1,2 +1,2 @@
-SHA256 (MagikBSD-ninja-20120204-0-gff1c488.tar.gz) = 63bc4cd8a2179517afa6c352092323b63bc7dec691f7e821984c5b8c9f437e96
-SIZE (MagikBSD-ninja-20120204-0-gff1c488.tar.gz) = 99066
+SHA256 (MagikBSD-ninja-20120619-0-gb3d63db.tar.gz) = f56dac4779beb45627d71a3623b0c19b1fac401f9d85d0c9e95483e255afe7dc
+SIZE (MagikBSD-ninja-20120619-0-gb3d63db.tar.gz) = 114544
diff --git a/devel/ninja/files/patch-configure.py b/devel/ninja/files/patch-configure.py
new file mode 100644
index 000000000000..fb706d745a14
--- /dev/null
+++ b/devel/ninja/files/patch-configure.py
@@ -0,0 +1,11 @@
+--- configure.py.orig 2012-06-26 19:09:41.000000000 +0200
++++ configure.py 2012-06-26 19:09:54.000000000 +0200
+@@ -117,7 +117,7 @@
+ cflags += ['/Ox', '/DNDEBUG', '/GL']
+ ldflags += ['/LTCG', '/OPT:REF', '/OPT:ICF']
+ else:
+- cflags = ['-g', '-Wall', '-Wextra',
++ cflags = ['-Wall', '-Wextra',
+ '-Wno-deprecated',
+ '-Wno-unused-parameter',
+ '-fno-rtti', \ No newline at end of file