403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.217.33
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/multimedia/vdr-plugin-remote/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/multimedia/vdr-plugin-remote/files/patch-Makefile
--- a/Makefile
+++ b/Makefile
@@ -54,6 +54,12 @@ DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I
 DEFINES += -DREMOTE_FEATURE_LIRC
 DEFINES += -DREMOTE_FEATURE_TCPIP
 
+ifeq ($(OSTYPE),FreeBSD)
+DEFINES += -DREMOTE_FEATURE_UHID
+else
+DEFINES += -DREMOTE_FEATURE_DEVINPUT
+endif
+
 ### The object files (add further files here):
 
 OBJS = $(PLUGIN).o ttystatus.o
@@ -81,9 +87,9 @@ $(DEPFILE): Makefile
 
 ### Internationalization (I18N):
 
-ifneq ($(shell grep 'LOCALEDIR' $(VDRDIR)/Makefile),)
+#ifneq ($(shell grep 'LOCALEDIR' $(VDRDIR)/Makefile),)
 PODIR     = po
 LOCALEDIR = $(VDRDIR)/locale
 I18Npo    = $(wildcard $(PODIR)/*.po)
 I18Nmo    = $(addsuffix .mo, $(foreach file, $(I18Npo), $(basename $(file))))
 I18Ndirs  = $(notdir $(foreach file, $(I18Npo), $(basename $(file))))
@@ -104,10 +110,10 @@ i18n: $(I18Nmo)
 	    mkdir -p $(LOCALEDIR)/$$i/LC_MESSAGES;\
 	    cp $(PODIR)/$$i.mo $(LOCALEDIR)/$$i/LC_MESSAGES/vdr-$(PLUGIN).mo;\
 	    done
-else
-OBJS += i18n.o
-i18n: ;
-endif
+#else
+#OBJS += i18n.o
+#i18n: ;
+#endif
 
 ### Targets:
 
@@ -126,3 +132,6 @@ dist: clean
 clean:
 	@-rm -f $(PODIR)/*.mo $(PODIR)/*.pot
 	@-rm -f *.o $(DEPFILE) *.so *.tgz core* *~
+
+install:
+	${INSTALL_PROGRAM} $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION) ${DESTDIR}$(PREFIX)/lib/vdr/libvdr-$(PLUGIN).so.$(APIVERSION)

Youez - 2016 - github.com/yon3zu
LinuXploit