SHARED_LIBS

This commit is contained in:
espie 2006-01-03 16:55:50 +00:00
parent 190c9fb905
commit 45781ae737
7 changed files with 77 additions and 7 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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 \

View File

@ -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)

View File

@ -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)

View File

@ -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