SHARED_LIBS

This commit is contained in:
espie 2006-01-03 16:42:47 +00:00
parent f2ca8c2804
commit 190c9fb905
4 changed files with 35 additions and 5 deletions

View File

@ -1,11 +1,13 @@
# $OpenBSD: Makefile,v 1.14 2005/11/30 11:25:17 espie Exp $
# $OpenBSD: Makefile,v 1.15 2006/01/03 16:42:47 espie Exp $
COMMENT= "X11 toolkit, accessibility aids"
CATEGORIES= x11 x11/kde
VERSION= 3.5.0
DISTNAME= kdeaccessibility-${VERSION}
PKGNAME= ${DISTNAME}
PKGNAME= ${DISTNAME}p0
MODKDE_VERSION?= 3.5
SHARED_LIBS= KTTSD_Lib 0.1 \
kttsd 1.0
LIB_DEPENDS= kdecore.6,kresources,kwalletclient,ktexteditor,vcard,kabc,kutils,DCOP,kdefx,kdeprint,kdesu,kdeui,kio,kparts,kspell,artskde::x11/kde/libs3
@ -20,4 +22,6 @@ WANTLIB= ICE SM X11 Xext Xrender Xtst art_lgpl_2 c jpeg \
glib-2.0.0.0 soundserver_idl \
kmedia2_idl artsflow vorbis mcop
USE_LIBTOOL= Yes
LIBTOOL_FLAGS= --tag disable-static
.include <bsd.port.mk>

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-ksayit_KTTSD_Lib_Makefile_in,v 1.1 2006/01/03 16:42:47 espie Exp $
--- ksayit/KTTSD_Lib/Makefile.in.orig Tue Jan 3 17:17:49 2006
+++ ksayit/KTTSD_Lib/Makefile.in Tue Jan 3 17:18:11 2006
@@ -403,7 +403,8 @@ INCLUDES = \
#>- METASOURCES = AUTO
#>- libKTTSD_Lib_la_LDFLAGS = -no-undefined $(all_libraries) -version-info 0:1
#>+ 1
-libKTTSD_Lib_la_LDFLAGS = -no-undefined $(KDE_NO_UNDEFINED) $(all_libraries) -version-info 0:1
+LIBKTTSD_Lib_LTVERSION=-version-info 0:1
+libKTTSD_Lib_la_LDFLAGS = -no-undefined $(KDE_NO_UNDEFINED) $(all_libraries) $(LIBKTTSD_Lib_LTVERSION)
lib_LTLIBRARIES = libKTTSD_Lib.la
libKTTSD_Lib_la_LIBADD = $(LIB_KDEUI) $(LIB_KDECORE)
noinst_HEADERS = kttsdlib.h kttsdlibsetupimpl.h kttsdlibtalker2.h kdeexportfix.h

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-kttsd_libkttsd_Makefile_in,v 1.1 2006/01/03 16:42:47 espie Exp $
--- kttsd/libkttsd/Makefile.in.orig Tue Jan 3 17:18:19 2006
+++ kttsd/libkttsd/Makefile.in Tue Jan 3 17:18:38 2006
@@ -444,7 +444,8 @@ libkttsd_la_SOURCES=\
#>- libkttsd_la_LDFLAGS = -version-info 1:0:0 $(all_libraries) -no-undefined
#>+ 1
-libkttsd_la_LDFLAGS = -version-info 1:0:0 $(all_libraries) -no-undefined $(KDE_NO_UNDEFINED)
+LIBkttsd_LTVERSION=-version-info 1:0:0
+libkttsd_la_LDFLAGS = $(LIBkttsd_LTVERSION) $(all_libraries) -no-undefined $(KDE_NO_UNDEFINED)
libkttsd_la_LIBADD = $(LIB_KIO)
# Header files that should not be installed.

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.6 2005/11/30 11:25:17 espie Exp $
@comment $OpenBSD: PLIST,v 1.7 2006/01/03 16:42:47 espie Exp $
bin/kmag
bin/kmousetool
bin/kmouth
@ -37,9 +37,9 @@ ${KDE}/libkttsd_xmltransformerplugin.so
${KDE}/libkttsjobmgrpart.la
${KDE}/libkttsjobmgrpart.so
lib/libKTTSD_Lib.la
@lib lib/libKTTSD_Lib.so.0.1
@lib lib/libKTTSD_Lib.so.${LIBKTTSD_Lib_VERSION}
lib/libkttsd.la
@lib lib/libkttsd.so.1.0
@lib lib/libkttsd.so.${LIBkttsd_VERSION}
share/applications/kde/kcmkttsd.desktop
share/applications/kde/ksayit.desktop
share/applications/kde/kttsmgr.desktop