Revert overriding of CFLAGS, dpkg-buildpackage will choose appripriate settings. Revert running the entire autoreconf sequence before calling ./configure. Build without DRM support, it has proven to break base functionality.
Fabian Greffrath
14 years ago
0 | 0 | #!/usr/bin/make -f |
1 | ||
2 | CFLAGS = -Wall -g -fPIC -DPIC $(DEB_CFLAGS) | |
3 | ||
4 | ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) | |
5 | CFLAGS += -O0 | |
6 | else | |
7 | CFLAGS += -O2 | |
8 | endif | |
9 | 1 | |
10 | 2 | %: |
11 | 3 | dh --with quilt $@ |
12 | 4 | |
13 | override_dh_auto_configure: | |
14 | aclocal -I . | |
15 | autoheader -f | |
16 | libtoolize --automake --copy -f | |
17 | automake --add-missing --copy -f | |
18 | autoconf -f | |
19 | ./configure --prefix=/usr --with-drm | |
20 | ||
21 | 5 | override_dh_strip: |
22 | 6 | dh_strip --dbg-package=faad2-dbg |