On 2017/06/26 21:11, Matthias Kilian wrote:
> 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).
it builds, but doesn't package:
: ===> Building package for texworks-0.4.4p0v0
: Create /mnt/packages/i386/all/texworks-0.4.4p0v0.tgz
: LIB_DEPENDS x11/dbus not needed for editors/texworks,-main ?
: Missing library for estdc++>=17.0
dbus is an old one (and non-fatal), the WANTLIB was dropped a long time
ago (it accesses this via QtDBus now) so we can just drop that from
LIB_DEPENDS-main.
estdc++ is new, the simplest way to get the right values for the current
arch is to pick up gcc (and qt)'s libs from LIB_DEPENDS, like so.
ok?
Index: Makefile
===================================================================
RCS file: /cvs/ports/editors/texworks/Makefile,v
retrieving revision 1.33
diff -u -p -r1.33 Makefile
--- Makefile 28 Jun 2017 19:30:39 -0000 1.33
+++ Makefile 30 Jun 2017 11:08:24 -0000
@@ -55,13 +55,13 @@ MULTI_PACKAGES = -main -lua -python
MASTER_SITES = ${MASTER_SITE_GOOGLECODE:=texworks/}
-LIB_DEPENDS-main = qt4->=4.8.2:${MODQT4_LIB_DEPENDS} \
+LIB_DEPENDS-main = ${LIB_DEPENDS} \
+ qt4->=4.8.2:${MODQT4_LIB_DEPENDS} \
textproc/hunspell \
- x11/dbus \
print/poppler,,-qt4
-LIB_DEPENDS-lua = ${MODQT4_LIB_DEPENDS} \
+LIB_DEPENDS-lua = ${LIB_DEPENDS} \
${MODLUA_LIB_DEPENDS}
-LIB_DEPENDS-python = ${MODQT4_LIB_DEPENDS} \
+LIB_DEPENDS-python = ${LIB_DEPENDS} \
${MODPY_LIB_DEPENDS}
RUN_DEPENDS-main = print/texlive/base \
No comments:
Post a Comment