- Use new SHARED_LIBS framework
- USE_LIBTOOL and bump PKGNAME where appropriate
This commit is contained in:
parent
a61cfa6eac
commit
47453f9047
@ -1,8 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.2 2003/05/12 08:23:46 jolan Exp $
|
||||
# $OpenBSD: Makefile,v 1.3 2006/01/03 14:55:18 bernd Exp $
|
||||
|
||||
COMMENT= "simple library designed for DVD navigation"
|
||||
|
||||
DISTNAME= libdvdplay-1.0.1
|
||||
PKGNAME= ${DISTNAME}p0
|
||||
SHARED_LIBS= dvdplay 0.1
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= http://www.videolan.org/pub/libdvdplay/1.0.1/
|
||||
|
||||
@ -18,6 +20,8 @@ PERMIT_PACKAGE_FTP= Yes
|
||||
|
||||
LIB_DEPENDS= dvdread::devel/libdvdread
|
||||
|
||||
USE_LIBTOOL= Yes
|
||||
|
||||
CONFIGURE_STYLE=gnu
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
|
||||
|
||||
|
12
devel/libdvdplay/patches/patch-src_Makefile_in
Normal file
12
devel/libdvdplay/patches/patch-src_Makefile_in
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-src_Makefile_in,v 1.1 2006/01/03 14:55:18 bernd Exp $
|
||||
--- src/Makefile.in.orig Mon Jan 2 19:19:08 2006
|
||||
+++ src/Makefile.in Mon Jan 2 19:19:29 2006
|
||||
@@ -138,7 +138,7 @@ libdvdplay_la_SOURCES = \
|
||||
|
||||
|
||||
libdvdplay_la_CFLAGS = -DTRACE
|
||||
-libdvdplay_la_LDFLAGS = -version-info 0:1:0 -ldvdread
|
||||
+libdvdplay_la_LDFLAGS = $(LIBdvdplay_LTVERSION) -ldvdread
|
||||
libdvdplay_la_LIBADD = -ldvdread
|
||||
subdir = src
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
@ -1,2 +1,2 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.2 2004/08/10 00:52:44 espie Exp $
|
||||
@lib lib/libdvdplay.so.0.1
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.3 2006/01/03 14:55:18 bernd Exp $
|
||||
@lib lib/libdvdplay.so.${LIBdvdplay_VERSION}
|
||||
|
@ -1,13 +1,14 @@
|
||||
#$OpenBSD: Makefile,v 1.10 2005/11/03 22:29:48 kurt Exp $
|
||||
#$OpenBSD: Makefile,v 1.11 2006/01/03 14:55:18 bernd Exp $
|
||||
CATEGORIES= devel
|
||||
|
||||
COMMENT= "accessing DVD files"
|
||||
DISTNAME= libdvdread-0.9.4
|
||||
PKGNAME= ${DISTNAME}p2
|
||||
SHARED_LIBS= dvdread 3.0
|
||||
MODGNU_SHARED_LIBS= dvdread '-export-symbols-regex "(DVD.*|ifo.*|nav.*)"'
|
||||
HOMEPAGE= http://www.dtek.chalmers.se/groups/dvd/
|
||||
MASTER_SITES= ${HOMEPAGE}dist/
|
||||
|
||||
PKGNAME=${DISTNAME}p2
|
||||
|
||||
MAINTAINER= Marc Espie <espie@openbsd.org>
|
||||
|
||||
CONFIGURE_STYLE= gnu
|
||||
|
@ -1,2 +1,2 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.4 2004/08/10 00:52:44 espie Exp $
|
||||
@lib lib/libdvdread.so.3.0
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.5 2006/01/03 14:55:18 bernd Exp $
|
||||
@lib lib/libdvdread.so.${LIBdvdread_VERSION}
|
||||
|
@ -1,8 +1,15 @@
|
||||
# $OpenBSD: Makefile,v 1.18 2004/11/23 21:34:27 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.19 2006/01/03 14:55:18 bernd Exp $
|
||||
|
||||
COMMENT= "library for loading GLADE interface files at runtime"
|
||||
|
||||
DISTNAME= libglade-0.17
|
||||
PKGNAME= ${DISTNAME}p0
|
||||
SHARED_LIBS= glade 5.0 \
|
||||
glade-gnome 5.0
|
||||
MODGNU_SHARED_LIBS= glade '' \
|
||||
glade-gnome ''
|
||||
LIBglade-gnome_ALIAS= glade_gnome
|
||||
|
||||
CATEGORIES= devel
|
||||
|
||||
HOMEPAGE= http://www.gnome.org
|
||||
@ -26,6 +33,7 @@ LIB_DEPENDS= xml.9::textproc/libxml1 \
|
||||
|
||||
SEPARATE_BUILD= concurrent
|
||||
USE_X11= Yes
|
||||
USE_LIBTOOL= Yes
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
||||
CONFIGURE_ARGS+= --disable-gnomedb
|
||||
@ -36,7 +44,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LIB_DEPENDS+= gnome.36,art_lgpl,gnomesupport,gnomeui::x11/gnome/libs
|
||||
WANTLIB+= ICE SM audiofile esd gdk_imlib jpeg png tiff ungif
|
||||
CONFIGURE_ARGS+= --with-gnome
|
||||
PKGNAME= ${DISTNAME}p0
|
||||
PKGNAME= ${DISTNAME}p1
|
||||
.else
|
||||
CONFIGURE_ARGS+= --without-gnome
|
||||
.endif
|
||||
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-glade_Makefile_in,v 1.1 2001/11/14 21:08:45 wilfried Exp $
|
||||
--- glade/Makefile.in.orig Fri Sep 7 05:01:15 2001
|
||||
+++ glade/Makefile.in Wed Nov 14 21:41:04 2001
|
||||
@@ -138,7 +138,7 @@ cxxflags_set = @cxxflags_set@
|
||||
install_sh = @install_sh@
|
||||
l = @l@
|
||||
|
||||
-LTVERSION = 4:2:4
|
||||
+LTVERSION = 5:0
|
||||
|
||||
INCLUDES = -I$(srcdir)/.. $(XML_CFLAGS) $(GTK_CFLAGS) $(GNOME_INCLUDEDIR) \
|
||||
$(BONOBO_CFLAGS) $(GNOMEDB_CFLAGS)
|
@ -1,62 +0,0 @@
|
||||
$OpenBSD: patch-ltmain_sh,v 1.1 2002/02/01 04:25:31 lebel Exp $
|
||||
--- ltmain.sh.orig Tue Sep 4 22:58:41 2001
|
||||
+++ ltmain.sh Thu Jan 31 22:45:48 2002
|
||||
@@ -1058,6 +1058,17 @@ compiler."
|
||||
continue
|
||||
;;
|
||||
|
||||
+ -pthread)
|
||||
+ case $host in
|
||||
+ *-*-openbsd*)
|
||||
+ deplibs="$deplibs $arg"
|
||||
+ ;;
|
||||
+ *)
|
||||
+ continue
|
||||
+ ;;
|
||||
+ esac
|
||||
+ ;;
|
||||
+
|
||||
-module)
|
||||
module=yes
|
||||
continue
|
||||
@@ -4444,40 +4455,6 @@ relink_command=\"$relink_command\""
|
||||
# Exit here if they wanted silent mode.
|
||||
test "$show" = ":" && exit 0
|
||||
|
||||
- echo "----------------------------------------------------------------------"
|
||||
- echo "Libraries have been installed in:"
|
||||
- for libdir in $libdirs; do
|
||||
- echo " $libdir"
|
||||
- done
|
||||
- echo
|
||||
- echo "If you ever happen to want to link against installed libraries"
|
||||
- echo "in a given directory, LIBDIR, you must either use libtool, and"
|
||||
- echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
|
||||
- echo "flag during linking and do at least one of the following:"
|
||||
- if test -n "$shlibpath_var"; then
|
||||
- echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
|
||||
- echo " during execution"
|
||||
- fi
|
||||
- if test -n "$runpath_var"; then
|
||||
- echo " - add LIBDIR to the \`$runpath_var' environment variable"
|
||||
- echo " during linking"
|
||||
- fi
|
||||
- if test -n "$hardcode_libdir_flag_spec"; then
|
||||
- libdir=LIBDIR
|
||||
- eval flag=\"$hardcode_libdir_flag_spec\"
|
||||
-
|
||||
- echo " - use the \`$flag' linker flag"
|
||||
- fi
|
||||
- if test -n "$admincmds"; then
|
||||
- echo " - have your system administrator run these commands:$admincmds"
|
||||
- fi
|
||||
- if test -f /etc/ld.so.conf; then
|
||||
- echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
|
||||
- fi
|
||||
- echo
|
||||
- echo "See any operating system documentation about shared libraries for"
|
||||
- echo "more information, such as the ld(1) and ld.so(8) manual pages."
|
||||
- echo "----------------------------------------------------------------------"
|
||||
exit 0
|
||||
;;
|
||||
|
@ -1,3 +1,2 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.4 2004/09/15 19:38:49 espie Exp $
|
||||
@comment @lib lib/libglade${FLAVOR_EXT}.so.5.0
|
||||
@lib lib/libglade.so.5.0
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.5 2006/01/03 14:55:19 bernd Exp $
|
||||
@lib lib/libglade.so.${LIBglade_VERSION}
|
||||
|
@ -1,2 +1,2 @@
|
||||
@comment $OpenBSD: PFRAG.shared-gnome,v 1.2 2004/11/17 18:23:50 espie Exp $
|
||||
@lib lib/libglade-gnome.so.5.0
|
||||
@comment $OpenBSD: PFRAG.shared-gnome,v 1.3 2006/01/03 14:55:19 bernd Exp $
|
||||
@lib lib/libglade-gnome.so.${LIBglade-gnome_VERSION}
|
||||
|
@ -1,9 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.11 2005/11/15 09:21:51 wilfried Exp $
|
||||
# $OpenBSD: Makefile,v 1.12 2006/01/03 14:55:19 bernd Exp $
|
||||
|
||||
COMMENT= "library for loading GLADE interface files at runtime"
|
||||
V= 2.5.1
|
||||
DISTNAME= libglade-${V}
|
||||
PKGNAME= libglade2-${V}p2
|
||||
PKGNAME= libglade2-${V}p3
|
||||
SHARED_LIBS= glade-2.0 0.7
|
||||
|
||||
CATEGORIES= devel
|
||||
|
||||
HOMEPAGE= http://www.gnome.org
|
||||
|
12
devel/libglade2/patches/patch-glade_Makefile_in
Normal file
12
devel/libglade2/patches/patch-glade_Makefile_in
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-glade_Makefile_in,v 1.1 2006/01/03 14:55:19 bernd Exp $
|
||||
--- glade/Makefile.in.orig Tue Jan 3 15:38:26 2006
|
||||
+++ glade/Makefile.in Tue Jan 3 15:38:48 2006
|
||||
@@ -260,7 +260,7 @@ libglade_2_0_la_SOURCES = \
|
||||
glade-private.h
|
||||
|
||||
libglade_2_0_la_LIBADD = $(LIBGLADE_LIBS)
|
||||
-libglade_2_0_la_LDFLAGS = -version-info $(LTVERSION) $(export_symbols) -no-undefined
|
||||
+libglade_2_0_la_LDFLAGS = $(LIBglade-2.0_LTVERSION) $(export_symbols) -no-undefined
|
||||
EXTRA_DIST = $(gladeinclude_HEADERS) \
|
||||
glade.def
|
||||
|
@ -1,2 +1,2 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.4 2005/05/25 23:26:40 marcm Exp $
|
||||
@lib lib/libglade-2.0.so.0.7
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.5 2006/01/03 14:55:19 bernd Exp $
|
||||
@lib lib/libglade-2.0.so.${LIBglade-2.0_VERSION}
|
||||
|
Loading…
Reference in New Issue
Block a user