diff options
Diffstat (limited to 'multimedia/vdr-plugin-wirbelscan/files/patch-Makefile')
-rw-r--r-- | multimedia/vdr-plugin-wirbelscan/files/patch-Makefile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/multimedia/vdr-plugin-wirbelscan/files/patch-Makefile b/multimedia/vdr-plugin-wirbelscan/files/patch-Makefile new file mode 100644 index 000000000000..fa0a8e115701 --- /dev/null +++ b/multimedia/vdr-plugin-wirbelscan/files/patch-Makefile @@ -0,0 +1,21 @@ +--- a/Makefile ++++ b/Makefile +@@ -119,7 +119,11 @@ i18n: $(I18Nmsgs) $(I18Npot) + + libvdr-$(PLUGIN).so: $(OBJS) + $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) -o $@ ++ifdef FREEBSD ++ @cp -f $@ $(LIBDIR)/$@.$(APIVERSION) ++else + @cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION) ++endif + + perm: + @chmod 644 *.{c,h,html} COPYING HISTORY README TODO Makefile po/* patches/* +@@ -138,3 +142,6 @@ clean: + + clean_code: clean + uncrustify -c ../../../../clean_code/config --replace --no-backup $(UNCRUSTIFY_FILES) ++ ++install: ++ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) $(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION) |