cease installing menu files on stretch or newer
authormirabilos <m@mirbsd.org>
Sat, 20 Oct 2018 19:51:04 +0000 (21:51 +0200)
committermirabilos <mirabilos@evolvis.org>
Sat, 20 Oct 2018 19:51:04 +0000 (21:51 +0200)
Policy forbids it if desktop files are installed
(ooh, is that an RC bug in src:joe… why yes, sir!)

debian/rules

index 40fd7e5..8a74682 100755 (executable)
@@ -131,7 +131,7 @@ SUBST_EP:=          -e '/@PRIO@EXTRA@/d'
 HOMEPAGE:=             http://www.mirbsd.org/jupp.htm
 SUBST_HP:=             -e '/@HP@DOT@/d' -e '/@HP@OLD@/d' -e 's\ 1@HP@MODERN@\ 1${HOMEPAGE}\ 1'
 SELINUX_DEP:=          libselinux1-dev [linux-any]
-MENU_SUBST:=           cat
+MENU_SUBST:=           \#
 
 BREAKS:=               Breaks
 SUBST_VARS+=           BREAKS
@@ -145,11 +145,13 @@ endif
 # wheezy, jessie
 ifneq (,$(findstring wheezy,${DEB_BUILD_OPTIONS}))
 DEBHELPER_VERSION:=    9
+MENU_SUBST:=           cat
 endif
 # lenny, squeeze
 ifneq (,$(findstring lenny,${DEB_BUILD_OPTIONS}))
 DEBHELPER_VERSION:=    5
 SELINUX_DEP:=          libselinux1-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386]
+MENU_SUBST:=           cat
 endif
 ifneq (,$(findstring lenny,${DEB_BUILD_OPTIONS})$(findstring sarge,${DEB_BUILD_OPTIONS}))
 DSF:=                  1.0