Hi,

the pending update of print/poppler will require the use of a C++-11
capable compiler, so set COMPILER=gcc.

Builds fine for me on amd64 (still with gcc as the default compiler
in base).

ok?

Ciao,
        Kili

Index: Makefile
===================================================================
RCS file: /cvs/ports/editors/texworks/Makefile,v
retrieving revision 1.32
diff -u -p -r1.32 Makefile
--- Makefile    14 Apr 2017 12:59:28 -0000      1.32
+++ Makefile    26 Jun 2017 19:06:05 -0000
@@ -12,6 +12,10 @@ PKGNAME-main =               texworks-${V}
 PKGNAME-lua =          texworks-lua-${V}
 PKGNAME-python =       texworks-python-${V}
 
+REVISION-main =                0
+REVISION-lua =         0
+REVISION-python =      0
+
 EPOCH =                        0
 
 WRKDIST =              ${WRKDIR}/texworks-${V}
@@ -32,17 +36,20 @@ MODQMAKE_PROJECTS = plugins-src/TWLuaPlu
                        plugins-src/TWPythonPlugin/TWPythonPlugin.pro \
                        TeXworks.pro
 
+# c++-11 required for poppler
+COMPILER =             gcc
+
 WANTLIB += ICE QtDBus QtGui QtScript QtScriptTools QtXml SM X11
 WANTLIB += Xext Xi Xinerama Xrender c fontconfig freetype hunspell-1.6
-WANTLIB += m poppler-qt4 pthread ${LIBCXX} z
+WANTLIB += m poppler-qt4 pthread z
 
 WANTLIB-lua =  ${MODLUA_WANTLIB}
 WANTLIB-lua += ICE QtCore QtGui QtXml SM X11 Xext Xi Xinerama Xrender
-WANTLIB-lua += fontconfig freetype m ${LIBCXX} pthread
+WANTLIB-lua += fontconfig freetype m pthread ${LIBECXX}
 
 WANTLIB-python =  ${MODPY_WANTLIB}
 WANTLIB-python += ICE QtCore QtGui QtXml SM X11 Xext Xi Xinerama Xrender
-WANTLIB-python += fontconfig freetype m ${LIBCXX} pthread
+WANTLIB-python += fontconfig freetype m pthread ${LIBECXX}
 
 MULTI_PACKAGES =       -main -lua -python
 

Reply via email to