openbsd-ports/x11/gmtk/patches/patch-src_Makefile_in
dcoppa 812e17dd63 Import gmtk, the gnome-mplayer toolkit.
$ cat pkg/DESCR
gmtk is a library that is used by gnome-mplayer and gecko-mediaplayer:
several common functions and routines formerly in gnome-mplayer and
gecko-mediaplayer have been moved to this library.
gmtk can be used to build your own media players, as widgets have
been created to control mplayer: a simple media player can be built
using this library very quickly.

Feedback and ok: ajacoutot@, sebastia@
2012-01-05 14:47:10 +00:00

39 lines
1.1 KiB
Plaintext

$OpenBSD: patch-src_Makefile_in,v 1.1.1.1 2012/01/05 14:47:10 dcoppa Exp $
Detect if libm should be used and use it if needed
(upstream svn revision r77)
Add gmlib to the list of referenced libaries
(upstream svn revision r79)
--- src/Makefile.in.orig Thu Jan 5 12:34:28 2012
+++ src/Makefile.in Thu Jan 5 12:36:41 2012
@@ -75,7 +75,7 @@ LTLIBRARIES = $(lib_LTLIBRARIES)
am__DEPENDENCIES_1 =
libgmlib_la_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
- $(am__DEPENDENCIES_1)
+ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
am_libgmlib_la_OBJECTS = libgmlib_la-gm_common.lo \
libgmlib_la-gm_audio.lo libgmlib_la-gm_file.lo \
libgmlib_la-gm_parse.lo libgmlib_la-gm_pref_store.lo \
@@ -352,8 +352,9 @@ libgmtk_la_CFLAGS = -fPIC \
$(GTK_CFLAGS) \
$(ALSA_CFLAGS)
-libgmtk_la_LDFLAGS =
+libgmtk_la_LDFLAGS = -L.libs
libgmtk_la_LIBADD = \
+ -lgmlib \
$(GTK_LIBS) \
$(ALSA_LIBS)
@@ -384,6 +385,7 @@ libgmlib_la_CFLAGS = -fPIC \
libgmlib_la_LDFLAGS =
libgmlib_la_LIBADD = \
+ $(LIBS) \
$(GLIB_LIBS) \
$(GCONF_LIBS) \
$(GIO_LIBS) \