Changeset View
Changeset View
Standalone View
Standalone View
head/multimedia/vdr-plugin-markad/files/patch-plugin_Makefile
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- plugin/Makefile.orig 2012-02-13 19:32:27 UTC | |||||
+++ plugin/Makefile | |||||
@@ -99,11 +99,19 @@ i18n: $(I18Nmsgs) $(I18Npot) | |||||
### Targets: | |||||
install: all | |||||
+ifdef FREEBSD | |||||
+ ${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) ${DESTDIR}$(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION) | |||||
+else | |||||
cp --remove-destination libvdr-$(PLUGIN).so $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) | |||||
+endif | |||||
libvdr-$(PLUGIN).so: $(OBJS) | |||||
$(CXX) $(CXXFLAGS) -shared $(OBJS) $(LIBS) -o $@ | |||||
+ifdef FREEBSD | |||||
+ cp -f libvdr-$(PLUGIN).so $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) | |||||
+else | |||||
cp --remove-destination libvdr-$(PLUGIN).so $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) | |||||
+endif | |||||
clean: | |||||
@-rm -f $(OBJS) $(DEPFILE) *.so *.so.* *.tgz core* *~ $(PODIR)/*.mo $(PODIR)/*.pot |