pkgsrc/multimedia/kdemultimedia3/patches/patch-ab
2004-01-26 15:41:43 +00:00

47 lines
1.4 KiB
Text

$NetBSD: patch-ab,v 1.1.1.1 2004/01/26 15:41:59 jmmv Exp $
--- kaboodle/Makefile.am.orig Mon Sep 16 09:14:51 2002
+++ kaboodle/Makefile.am
@@ -2,7 +2,7 @@ INCLUDES = -I$(kde_includes)/kio -I$(kde
SUBDIRS = pics actions
-lib_LTLIBRARIES = kaboodle.la
+lib_LTLIBRARIES = libkaboodle_main.la kaboodle.la
kde_module_LTLIBRARIES = libkaboodlepart.la
@@ -16,25 +16,24 @@ libkaboodlepart_la_SOURCES = conf.cpp \
libkaboodlepart_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
libkaboodlepart_la_LIBADD = $(LIB_KFILE) $(LIB_KPARTS) -lqtmcop -lkmedia2_idl -lsoundserver_idl -lartskde -lkmediaplayer
-kaboodle_la_SOURCES = main.cpp \
+libkaboodle_main_la_SOURCES = main.cpp \
kaboodleapp.cpp \
userinterface.cpp
-kaboodle_la_LIBADD = libkaboodlepart.la
+libkaboodle_main_la_LIBADD = libkaboodlepart.la
+libkaboodle_main_la_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+
+kaboodle_la_SOURCES = kaboodle_main.cpp
+kaboodle_la_LIBADD = libkaboodle_main.la
kaboodle_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) -module -avoid-version
bin_PROGRAMS = kaboodle
-kaboodle_LDADD = kaboodle.la
+kaboodle_LDADD = libkaboodle_main.la
kaboodle_LDFLAGS = $(all_libraries) $(KDE_RPATH)
-kaboodle_SOURCES = dummy.cpp
+kaboodle_SOURCES = kaboodle_main.cpp
libkaboodlepart_la_METASOURCES = AUTO
-
-CLEANFILES = dummy.cpp
-
-dummy.cpp:
- echo > dummy.cpp
applnk_DATA = kaboodle.desktop
applnkdir = $(kde_appsdir)/Multimedia