Hi ports! 

> http://build-failures.rhaalovely.net/sparc64/2018-12-19/x11/grantlee.log
> http://build-failures.rhaalovely.net/powerpc/2018-12-14/x11/grantlee.log

With ports-gcc, it needs additional CFLAGS and LDFLAGS.

It has been tested successfully on macppc [1]. 

Charlène. 


[1] http://ix.io/1zr6


Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/grantlee/Makefile,v
retrieving revision 1.13
diff -u -p -r1.13 Makefile
--- Makefile    24 Oct 2018 14:28:12 -0000      1.13
+++ Makefile    28 Jan 2019 17:50:57 -0000
@@ -2,7 +2,7 @@
 
 COMMENT =              template and text document library for Qt4
 PKG_VERSION =          0.5.1
-REVISION =             4
+REVISION =             5
 PLIST_VERSION =                ${PKG_VERSION:R}
 DISTNAME =             grantlee-${PKG_VERSION}
 CATEGORIES =           devel x11
@@ -36,3 +36,8 @@ CONFIGURE_ARGS =      -DCMAKE_DISABLE_FIND_PA
 SUBST_VARS =           PLIST_VERSION
 
 .include <bsd.port.mk>
+
+.if ${CHOSEN_COMPILER} == "ports-gcc"
+CXXFLAGS += -pthread
+LDFLAGS += -lpthread
+.endif

Reply via email to