Better leave gstpython itself deals with libutil.

This commit is contained in:
ajacoutot 2012-02-21 15:26:26 +00:00
parent 618e5ba674
commit ec0059b04c
2 changed files with 3 additions and 19 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.29 2012/02/21 13:38:22 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.30 2012/02/21 15:26:26 ajacoutot Exp $
COMMENT = multimedia framework
V = 0.10.36
DISTNAME = gstreamer-${V}
REVISION = 0
REVISION = 1
SHARED_LIBS += gstreamer-0.10 3.0 # 30.0
SHARED_LIBS += gstbase-0.10 3.0 # 30.0
@ -15,7 +15,7 @@ SHARED_LIBS += gstcheck-0.10 2.0 # 30.0
SHARED_LIBS += gstnet-0.10 3.0 # 30.0
WANTLIB += c ffi glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0
WANTLIB += m pcre pthread util xml2 z
WANTLIB += m pcre pthread xml2 z
MASTER_SITES = ${MASTER_SITE_GST:=gstreamer/}

View File

@ -1,16 +0,0 @@
$OpenBSD: patch-gst_Makefile_in,v 1.1 2012/02/21 13:38:22 ajacoutot Exp $
Needed for loading libgstpython.so:
/usr/local/lib/libpythonX.Y.so.X.Y: undefined symbol 'forkpty'
--- gst/Makefile.in.orig Tue Feb 21 14:18:54 2012
+++ gst/Makefile.in Tue Feb 21 14:19:23 2012
@@ -669,7 +669,7 @@ libgstreamer_@GST_MAJORMINOR@_la_LIBADD = \
$(LIBM)
libgstreamer_@GST_MAJORMINOR@_la_LDFLAGS = \
- $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
+ $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS) -lutil
libgstreamer_@GST_MAJORMINOR@includedir = $(includedir)/gstreamer-@GST_MAJORMINOR@/gst
gst_headers = \