- SHARED_LIBS

- USE_LIBTOOL
- Regen plists
- Bump PKGNAME
This commit is contained in:
alek 2006-01-09 22:40:02 +00:00
parent 5dd64d3e3d
commit 200ddb4679
4 changed files with 55 additions and 5 deletions

View File

@ -1,8 +1,10 @@
# $OpenBSD: Makefile,v 1.19 2005/01/02 12:56:05 alek Exp $
# $OpenBSD: Makefile,v 1.20 2006/01/09 22:40:02 alek Exp $
COMMENT= "new mail notification utility for KDE"
DISTNAME= kbiff-3.7.1
PKGNAME= ${DISTNAME}p0
SHARED_LIBS= kbiff 0.0
CATEGORIES= mail
EXTRACT_SUFX= .tar.bz2
@ -30,6 +32,8 @@ MAKE_FLAGS= ${MODKDE_MAKE_FLAGS}
USE_X11= Yes
USE_GMAKE= Yes
USE_LIBTOOL= Yes
LIBTOOL_FLAGS+= --tag=disable-static
CONFIGURE_STYLE= autoconf
AUTOCONF_VERSION= 2.57
MODGNU_CONFIG_GUESS_DIRS= ${MODKDE_CONFIG_GUESS_DIRS}

View File

@ -0,0 +1,46 @@
$OpenBSD: patch-kbiff_Makefile_in,v 1.1 2006/01/09 22:40:02 alek Exp $
--- kbiff/Makefile.in.orig Fri Mar 26 02:47:41 2004
+++ kbiff/Makefile.in Mon Jan 9 13:19:13 2006
@@ -249,7 +249,7 @@ SUBDIRS = pics
####### This part is very kbiff specific
# you can add here more. This one gets installed
bin_PROGRAMS = kbiff
-lib_LTLIBRARIES = kbiff.la
+lib_LTLIBRARIES = libkbiff.la
#>- METASOURCES = AUTO
@@ -261,13 +261,13 @@ kbiff_la_SOURCES = setupdlg.cpp kbiff.cp
kbiff_SOURCES = dummy.cpp
# the library search path
-kbiff_la_LDFLAGS = $(all_libraries) -module -avoid-version
+kbiff_la_LDFLAGS = $(all_libraries)
kbiff_LDFLAGS = $(all_libraries) $(KDE_RPATH)
# the libraries to link against. Be aware of the order. First the libraries,
# that depend on the following ones.
kbiff_la_LIBADD = $(LIB_KFILE) $(LIB_KIO)
-kbiff_LDADD = kbiff.la
+kbiff_LDADD = libkbiff.la
# this option you can leave out. Just, if you use "make dist", you need it
noinst_HEADERS = setupdlg.h kbiff.h kbiffmonitor.h notify.h kbiffurl.h \
@@ -299,7 +299,7 @@ am_kbiff_OBJECTS = dummy.$(OBJEXT)
#>- kbiff_OBJECTS = $(am_kbiff_OBJECTS)
#>+ 1
kbiff_OBJECTS = dummy.$(OBJEXT)
-kbiff_DEPENDENCIES = kbiff.la
+kbiff_DEPENDENCIES = libkbiff.la
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
depcomp = $(SHELL) $(top_srcdir)/admin/depcomp
@@ -400,7 +400,7 @@ clean-libLTLIBRARIES:
echo "rm -f \"$${dir}/so_locations\""; \
rm -f "$${dir}/so_locations"; \
done
-kbiff.la: $(kbiff_la_OBJECTS) $(kbiff_la_DEPENDENCIES)
+libkbiff.la: $(kbiff_la_OBJECTS) $(kbiff_la_DEPENDENCIES)
$(CXXLINK) -rpath $(libdir) $(kbiff_la_LDFLAGS) $(kbiff_la_OBJECTS) $(kbiff_la_LIBADD) $(LIBS)
binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
install-binPROGRAMS: $(bin_PROGRAMS)

View File

@ -1,2 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.4 2004/09/15 09:09:42 espie Exp $
@lib lib/libkbiff.so.0.0
@comment $OpenBSD: PFRAG.shared,v 1.5 2006/01/09 22:40:03 alek Exp $
@lib lib/libkbiff.so.${LIBkbiff_VERSION}

View File

@ -1,6 +1,6 @@
@comment $OpenBSD: PLIST,v 1.8 2004/10/24 14:21:32 naddy Exp $
@comment $OpenBSD: PLIST,v 1.9 2006/01/09 22:40:03 alek Exp $
bin/kbiff
@comment lib/kbiff.la
lib/libkbiff.la
@man man/man1/kbiff.1
share/applnk/
share/applnk/Internet/