pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Linux/Solved: multimedia/vlc patch to disable comm/lirc or a 6.x gcc must be build an used



The comm/lirc version 0.9.0 isnt building with gcc 7 and above on linux
I've disabled comm/lirc for multimedia/vlc in options.mk with this patch

--- options.mk  2018-11-29 16:26:55.058052389 +0100
+++ options.mk  2018-11-29 16:24:06.219058318 +0100
@@ -22,10 +22,14 @@ PKG_SUGGESTED_OPTIONS+=     vaapi
 ### Add LIRC if it is available
 .include "../../comms/lirc/available.mk"
 PLIST_VARS+=           lirc
+.if ${OPSYS} == "Linux"
+${LIRC_AVAILABLE} == "no"
+.else
 .if ${LIRC_AVAILABLE} == "yes"
 PKG_SUPPORTED_OPTIONS+= lirc
 PKG_SUGGESTED_OPTIONS+=        lirc
 .endif
+.endif

 ###
 .include "../../mk/bsd.options.mk"

Andreas



Home | Main Index | Thread Index | Old Index