From 45781ae737486ffd0381cb782201f58e453aaf8c Mon Sep 17 00:00:00 2001 From: espie Date: Tue, 3 Jan 2006 16:55:50 +0000 Subject: [PATCH] SHARED_LIBS --- x11/kde/games3/Makefile | 7 ++++++- .../patches/patch-atlantik_libatlantic_Makefile_in | 13 +++++++++++++ .../patch-atlantik_libatlantikclient_Makefile_in | 13 +++++++++++++ .../patch-atlantik_libatlantikui_Makefile_in | 13 +++++++++++++ x11/kde/games3/patches/patch-kolf_Makefile_in | 13 +++++++++++++ .../games3/patches/patch-libkdegames_Makefile_in | 13 +++++++++++++ x11/kde/games3/pkg/PLIST | 12 ++++++------ 7 files changed, 77 insertions(+), 7 deletions(-) create mode 100644 x11/kde/games3/patches/patch-atlantik_libatlantic_Makefile_in create mode 100644 x11/kde/games3/patches/patch-atlantik_libatlantikclient_Makefile_in create mode 100644 x11/kde/games3/patches/patch-atlantik_libatlantikui_Makefile_in create mode 100644 x11/kde/games3/patches/patch-kolf_Makefile_in create mode 100644 x11/kde/games3/patches/patch-libkdegames_Makefile_in diff --git a/x11/kde/games3/Makefile b/x11/kde/games3/Makefile index 2e59bf6d05d..57ef379fcf0 100644 --- a/x11/kde/games3/Makefile +++ b/x11/kde/games3/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.35 2005/12/19 09:54:29 espie Exp $ +# $OpenBSD: Makefile,v 1.36 2006/01/03 16:55:50 espie Exp $ COMMENT= "K Desktop Environment, games" @@ -7,6 +7,11 @@ VERSION= 3.5.0 DISTNAME= kdegames-${VERSION} PKGNAME= ${DISTNAME}p0 MODKDE_VERSION= 3.5 +SHARED_LIBS= atlantic 3.0 \ + atlantikclient 3.0 \ + atlantikui 3.0 \ + kdegames 3.0 \ + kolf 3.0 LIB_DEPENDS= kdecore.6,artskde,DCOP,kdefx,kdeprint,kdesu,kdeui,kdnssd,kio,kparts::x11/kde/libs3 SEPARATE_BUILD=flavored diff --git a/x11/kde/games3/patches/patch-atlantik_libatlantic_Makefile_in b/x11/kde/games3/patches/patch-atlantik_libatlantic_Makefile_in new file mode 100644 index 00000000000..2313041f3e4 --- /dev/null +++ b/x11/kde/games3/patches/patch-atlantik_libatlantic_Makefile_in @@ -0,0 +1,13 @@ +$OpenBSD: patch-atlantik_libatlantic_Makefile_in,v 1.1 2006/01/03 16:55:50 espie Exp $ +--- atlantik/libatlantic/Makefile.in.orig Tue Jan 3 17:22:53 2006 ++++ atlantik/libatlantic/Makefile.in Tue Jan 3 17:23:15 2006 +@@ -432,7 +432,8 @@ INCLUDES = $(all_includes) + lib_LTLIBRARIES = libatlantic.la + #>- libatlantic_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) -no-undefined -version-info 3:0:2 + #>+ 1 +-libatlantic_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) -no-undefined $(KDE_NO_UNDEFINED) -version-info 3:0:2 ++LIBatlantic_LTVERSION=-version-info 3:0:2 ++libatlantic_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) -no-undefined $(KDE_NO_UNDEFINED) $(LIBatlantic_LTVERSION) + libatlantic_la_LIBADD = $(LIB_QT) + libatlantic_la_SOURCES = atlantic_core.cpp auction.cpp configoption.cpp estate.cpp \ + estategroup.cpp game.cpp player.cpp trade.cpp diff --git a/x11/kde/games3/patches/patch-atlantik_libatlantikclient_Makefile_in b/x11/kde/games3/patches/patch-atlantik_libatlantikclient_Makefile_in new file mode 100644 index 00000000000..77a9b0de4b4 --- /dev/null +++ b/x11/kde/games3/patches/patch-atlantik_libatlantikclient_Makefile_in @@ -0,0 +1,13 @@ +$OpenBSD: patch-atlantik_libatlantikclient_Makefile_in,v 1.1 2006/01/03 16:55:50 espie Exp $ +--- atlantik/libatlantikclient/Makefile.in.orig Tue Jan 3 17:23:33 2006 ++++ atlantik/libatlantikclient/Makefile.in Tue Jan 3 17:23:55 2006 +@@ -428,7 +428,8 @@ INCLUDES = -I$(top_srcdir)/atlantik/liba + lib_LTLIBRARIES = libatlantikclient.la + #>- libatlantikclient_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) -no-undefined -version-info 3:0:2 + #>+ 1 +-libatlantikclient_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) -no-undefined $(KDE_NO_UNDEFINED) -version-info 3:0:2 ++LIBatlantikclient_LTVERSION=-version-info 3:0:2 ++libatlantikclient_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) -no-undefined $(KDE_NO_UNDEFINED) $(LIBatlantikclient_LTVERSION) + libatlantikclient_la_LIBADD = ../libatlantic/libatlantic.la $(LIB_KIO) + libatlantikclient_la_SOURCES = atlantik_network.cpp monopdprotocol.cpp + noinst_HEADERS = atlantik_network.h monopdprotocol.h diff --git a/x11/kde/games3/patches/patch-atlantik_libatlantikui_Makefile_in b/x11/kde/games3/patches/patch-atlantik_libatlantikui_Makefile_in new file mode 100644 index 00000000000..0c6acd34ab2 --- /dev/null +++ b/x11/kde/games3/patches/patch-atlantik_libatlantikui_Makefile_in @@ -0,0 +1,13 @@ +$OpenBSD: patch-atlantik_libatlantikui_Makefile_in,v 1.1 2006/01/03 16:55:50 espie Exp $ +--- atlantik/libatlantikui/Makefile.in.orig Tue Jan 3 17:24:04 2006 ++++ atlantik/libatlantikui/Makefile.in Tue Jan 3 17:24:20 2006 +@@ -432,7 +432,8 @@ INCLUDES = -I$(top_srcdir)/atlantik/liba + lib_LTLIBRARIES = libatlantikui.la + #>- libatlantikui_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) -no-undefined -version-info 3:0:2 + #>+ 1 +-libatlantikui_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) -no-undefined $(KDE_NO_UNDEFINED) -version-info 3:0:2 ++LIBatlantikui_LTVERSION=-version-info 3:0:2 ++libatlantikui_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) -no-undefined $(KDE_NO_UNDEFINED) $(LIBatlantikui_LTVERSION) + libatlantikui_la_LIBADD = ../libatlantic/libatlantic.la $(LIB_KIO) + libatlantikui_la_SOURCES = auction_widget.cpp board.cpp estatedetails.cpp \ + estateview.cpp kwrappedlistviewitem.cpp portfolioestate.cpp \ diff --git a/x11/kde/games3/patches/patch-kolf_Makefile_in b/x11/kde/games3/patches/patch-kolf_Makefile_in new file mode 100644 index 00000000000..1fd0214e15a --- /dev/null +++ b/x11/kde/games3/patches/patch-kolf_Makefile_in @@ -0,0 +1,13 @@ +$OpenBSD: patch-kolf_Makefile_in,v 1.5 2006/01/03 16:55:50 espie Exp $ +--- kolf/Makefile.in.orig Tue Jan 3 17:24:46 2006 ++++ kolf/Makefile.in Tue Jan 3 17:25:02 2006 +@@ -486,7 +486,8 @@ libkolf_la_SOURCES = \ + + #>- libkolf_la_LDFLAGS = $(all_libraries) -no-undefined -version-info 3:0:2 + #>+ 1 +-libkolf_la_LDFLAGS = $(all_libraries) -no-undefined $(KDE_NO_UNDEFINED) -version-info 3:0:2 ++LIBkolf_LTVERSION=-version-info 3:0:2 ++libkolf_la_LDFLAGS = $(all_libraries) -no-undefined $(KDE_NO_UNDEFINED) $(LIBkolf_LTVERSION) + libkolf_la_LIBADD = $(LIB_KDEGAMES) $(LIB_KDEPRINT) $(LIB_KIO) -lartskde + libkolf_la_DEPENDENCIES = $(LIB_KDEGAMES_DEP) + diff --git a/x11/kde/games3/patches/patch-libkdegames_Makefile_in b/x11/kde/games3/patches/patch-libkdegames_Makefile_in new file mode 100644 index 00000000000..99826edab49 --- /dev/null +++ b/x11/kde/games3/patches/patch-libkdegames_Makefile_in @@ -0,0 +1,13 @@ +$OpenBSD: patch-libkdegames_Makefile_in,v 1.1 2006/01/03 16:55:50 espie Exp $ +--- libkdegames/Makefile.in.orig Tue Jan 3 17:24:26 2006 ++++ libkdegames/Makefile.in Tue Jan 3 17:24:41 2006 +@@ -445,7 +445,8 @@ xdg_menudir = @xdg_menudir@ + lib_LTLIBRARIES = libkdegames.la + #>- libkdegames_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) -no-undefined -version-info 3:0:2 + #>+ 1 +-libkdegames_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) -no-undefined $(KDE_NO_UNDEFINED) -version-info 3:0:2 ++LIBkdegames_LTVERSION=-version-info 3:0:2 ++libkdegames_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) -no-undefined $(KDE_NO_UNDEFINED) $(LIBkdegames_LTVERSION) + libkdegames_la_LIBADD = highscore/libkhighscore.la kgame/libkgame.la kgame/dialogs/libkgamedialogs.la \ + $(LIB_KSYCOCA) $(LIB_KDNSSD) + diff --git a/x11/kde/games3/pkg/PLIST b/x11/kde/games3/pkg/PLIST index 34ed6713fdc..ea07a01767a 100644 --- a/x11/kde/games3/pkg/PLIST +++ b/x11/kde/games3/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $OpenBSD: PLIST,v 1.16 2005/11/29 14:11:33 espie Exp $ +@comment $OpenBSD: PLIST,v 1.17 2006/01/03 16:55:50 espie Exp $ bin/atlantik bin/kasteroids bin/katomic @@ -108,17 +108,17 @@ ${KDE}/kio_atlantik.so ${KDE}/kolf.la ${KDE}/kolf.so lib/libatlantic.la -@lib lib/libatlantic.so.3.0 +@lib lib/libatlantic.so.${LIBatlantic_VERSION} lib/libatlantikclient.la -@lib lib/libatlantikclient.so.3.0 +@lib lib/libatlantikclient.so.${LIBatlantikclient_VERSION} lib/libatlantikui.la -@lib lib/libatlantikui.so.3.0 +@lib lib/libatlantikui.so.${LIBatlantikui_VERSION} lib/libkdegames.la -@lib lib/libkdegames.so.3.0 +@lib lib/libkdegames.so.${LIBkdegames_VERSION} lib/libkdeinit_kolf.la lib/libkdeinit_kolf.so lib/libkolf.la -@lib lib/libkolf.so.3.0 +@lib lib/libkolf.so.${LIBkolf_VERSION} share/applications/kde/KGoldrunner.desktop share/applications/kde/atlantik.desktop share/applications/kde/kasteroids.desktop