Consistent USE_WXNEEDED annotations and drop uneeded patch.

This commit is contained in:
ajacoutot 2017-11-17 12:16:01 +00:00
parent c47a27f769
commit 913619c047
3 changed files with 9 additions and 23 deletions

View File

@ -1,4 +1,8 @@
# $OpenBSD: Makefile,v 1.107 2017/11/16 20:51:01 kili Exp $
# $OpenBSD: Makefile,v 1.108 2017/11/17 12:16:01 ajacoutot Exp $
# build time requirement for WebKit2-4.0 introspection:
# g-ir-scanner(1) only passes -L/-l LDFLAGS
USE_WXNEEDED= Yes
COMMENT= API documentation browser for GNOME
@ -44,9 +48,4 @@ RUN_DEPENDS += x11/gnome/devel-docs
CONFIGURE_STYLE= gnu
# Prevent a temporarily built and used Devhelp binary from beeing
# killed when kern.wxabort is enabled, because g-ir-scanner doesn't
# use the right flags when linking.
USE_WXNEEDED= Yes
.include <bsd.port.mk>

View File

@ -1,14 +1,14 @@
# $OpenBSD: Makefile,v 1.14 2017/11/03 13:41:40 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.15 2017/11/17 12:16:01 ajacoutot Exp $
# Required at build time for a temporary program created and run by
# g-ir-scanner; programs linked against libgepub need wxneeded, too
# (see the patch for libgepub.pc.in).
# build time requirement for WebKit2-4.0 introspection:
# g-ir-scanner(1) only passes -L/-l LDFLAGS
USE_WXNEEDED= Yes
COMMENT= GObject based library for rendering epub docs
GNOME_PROJECT= libgepub
GNOME_VERSION= 0.5.2
REVISION= 0
CATEGORIES= graphics

View File

@ -1,13 +0,0 @@
$OpenBSD: patch-libgepub_pc_in,v 1.1 2016/12/10 22:28:16 kili Exp $
Programs linked against libgepub need wxneeded.
--- libgepub.pc.in.orig Wed Jun 1 08:25:49 2016
+++ libgepub.pc.in Sat Dec 10 20:22:53 2016
@@ -8,5 +8,5 @@ Description: epub Documents library
Version: @VERSION@
Requires: gio-2.0
Requires.private: libxml-2.0 libarchive
-Libs: -L${libdir} -lgepub
+Libs: -L${libdir} -lgepub -Wl,-z,wxneeded
Cflags: -I${includedir}