glib2: make build progress with python3
authorThomas Klausner <tk@giga.or.at>
Sat, 16 Feb 2019 15:48:12 +0000 (16:48 +0100)
committerThomas Klausner <tk@giga.or.at>
Sat, 16 Feb 2019 15:48:50 +0000 (16:48 +0100)
Remove non-existent file from SUBST.

Mention current error in TODO:
wip/glib2/work/glib-2.58.2/output/gio/glib-compile-resources: Shared object "libgio-2.0.so.0" not found

glib2/Makefile.common
glib2/TODO [new file with mode: 0644]

index a25feaa64eb7267247e4b4933dbf39f0bd54d0f3..1b9980dbfda0358cc0cdeeb26443eb17d8cef96c 100644 (file)
@@ -69,12 +69,14 @@ CONFIGURE_ARGS+=    --disable-threads
 .include "../../mk/pthread.buildlink3.mk"
 .endif
 
+pre-configure:
+       ${LN} -s ${PYTHONBIN} ${BUILDLINK_DIR}/bin/python3
+
 BUILD_DEFS+=           VARBASE
 SUBST_CLASSES+=                dbusdb
 SUBST_MESSAGE.dbusdb=  Adjust dbus machine uuid path to dbus package
 SUBST_STAGE.dbusdb=    pre-configure
 SUBST_FILES.dbusdb=    gio/gdbusconnection.c
 SUBST_FILES.dbusdb+=   gio/gdbusprivate.c
-SUBST_FILES.dbusdb+=   po/glib20.pot
 SUBST_FILES.dbusdb+=   po/*.po
 SUBST_SED.dbusdb=      -e 's,/var/lib/dbus,${VARBASE}/db/dbus,g'
diff --git a/glib2/TODO b/glib2/TODO
new file mode 100644 (file)
index 0000000..fd6fef9
--- /dev/null
@@ -0,0 +1 @@
+wip/glib2/work/glib-2.58.2/output/gio/glib-compile-resources: Shared object "libgio-2.0.so.0" not found