svn commit: r483235 - in head/devel/protobuf: . files
Mark Linimon
linimon at FreeBSD.org
Sun Oct 28 08:07:38 UTC 2018
Author: linimon
Date: Sun Oct 28 08:07:37 2018
New Revision: 483235
URL: https://svnweb.freebsd.org/changeset/ports/483235
Log:
Fix build on powerpc64.
While here, pet portlint.
PR: 232750
Submitted by: Piotr Kubaj
Approved by: portmgr (tier-2 blanket)
Added:
head/devel/protobuf/files/patch-src_Makefile.am (contents, props changed)
Modified:
head/devel/protobuf/Makefile
Modified: head/devel/protobuf/Makefile
==============================================================================
--- head/devel/protobuf/Makefile Sun Oct 28 07:52:44 2018 (r483234)
+++ head/devel/protobuf/Makefile Sun Oct 28 08:07:37 2018 (r483235)
@@ -3,8 +3,8 @@
PORTNAME= protobuf
PORTVERSION= 3.5.2
-PORTREVISION= 1
DISTVERSIONPREFIX= v
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= devel
@@ -28,8 +28,8 @@ GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
TEST_ARGS= ${MAKE_ARGS} ${_MAKE_JOBS}
TEST_TARGET= check
-USE_LDCONFIG= yes
USES= autoreconf compiler:c++11-lang gmake libtool localbase pathfix pkgconfig
+USE_LDCONFIG= yes
GH_ACCOUNT= google
USE_GITHUB= yes
Added: head/devel/protobuf/files/patch-src_Makefile.am
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/protobuf/files/patch-src_Makefile.am Sun Oct 28 08:07:37 2018 (r483235)
@@ -0,0 +1,11 @@
+--- src/Makefile.am.bak 2018-10-27 21:56:16.784704000 +0200
++++ src/Makefile.am 2018-10-27 22:01:47.564751000 +0200
+@@ -518,7 +518,7 @@
+ # to build the js_embed binary using $(CXX_FOR_BUILD) so that it is executable
+ # on the build machine in a cross-compilation setup.
+ js_embed$(EXEEXT): $(srcdir)/google/protobuf/compiler/js/embed.cc
+- $(CXX_FOR_BUILD) -o $@ $<
++ $(CXX_FOR_BUILD) ${CXXFLAGS} -o $@ $<
+ js_well_known_types_sources = \
+ google/protobuf/compiler/js/well_known_types/any.js \
+ google/protobuf/compiler/js/well_known_types/struct.js \
More information about the svn-ports-head
mailing list