add “stretch” as build option
authormirabilos <m@mirbsd.org>
Sat, 20 Oct 2018 19:48:56 +0000 (21:48 +0200)
committermirabilos <mirabilos@evolvis.org>
Sat, 20 Oct 2018 19:48:56 +0000 (21:48 +0200)
could be a nop, but we use debhelper 10 for it to be nice

debian/rules

index 93863a7..40fd7e5 100755 (executable)
@@ -126,7 +126,6 @@ EXTRA_CFLAGS+=              -Wno-unused-parameter -Wno-cast-qual
 EXTRA_CFLAGS+=         -Wno-strict-prototypes
 EXTRA_LDFLAGS=         -Wl,--as-needed
 
-DEBHELPER_VERSION:=    11
 DSF:=                  3.0 (quilt)
 SUBST_EP:=             -e '/@PRIO@EXTRA@/d'
 HOMEPAGE:=             http://www.mirbsd.org/jupp.htm
@@ -137,7 +136,13 @@ MENU_SUBST:=               cat
 BREAKS:=               Breaks
 SUBST_VARS+=           BREAKS
 
-# wheezy, jessie, stretch
+# buster, sid
+DEBHELPER_VERSION:=    11
+# stretch
+ifneq (,$(findstring stretch,${DEB_BUILD_OPTIONS}))
+DEBHELPER_VERSION:=    10
+endif
+# wheezy, jessie
 ifneq (,$(findstring wheezy,${DEB_BUILD_OPTIONS}))
 DEBHELPER_VERSION:=    9
 endif
@@ -408,6 +413,7 @@ endif
 # DEB_BUILD_OPTIONS='static nopwnam nolibs' debian/rules debian/.control_stamp
 # DEB_BUILD_OPTIONS='nommu nolibs' debian/rules debian/.control_stamp
 # DEB_BUILD_OPTIONS='nofpu nommu nolibs' debian/rules debian/.control_stamp
+# DEB_BUILD_OPTIONS='stretch' debian/rules debian/.control_stamp
 # DEB_BUILD_OPTIONS='wheezy' debian/rules debian/.control_stamp
 # DEB_BUILD_OPTIONS='lenny' debian/rules debian/.control_stamp
 # DEB_BUILD_OPTIONS='lenny diet' debian/rules debian/.control_stamp