debian/rules: build-arch depends on patch
authorSam Hartman <hartmans@debian.org>
Mon, 24 Mar 2014 22:55:22 +0000 (18:55 -0400)
committerSam Hartman <hartmans@debian.org>
Mon, 24 Mar 2014 22:55:22 +0000 (18:55 -0400)
Now that radiusd.conf is in freeradius-config, we need the
radiusd-to-freeradius.patch applied in build-arch.  If not, then
whether things are called freeradius or radiusd and what user is used
depends on whether the -B flag is passed to dpkg-buildpackage and on
whether the build is from git or from a tarball.  More consistency is
highly desirable.

debian/rules

index 0174622..32a3ca7 100755 (executable)
@@ -96,7 +96,7 @@ endif
 #Architecture 
 build: patch build-arch build-indep
 
-build-arch: build-arch-stamp
+build-arch: build-arch-stamp patch
 build-arch-stamp: config.status
        $(MAKE) 
        touch $@