From d25533200fe2acea82d24207209e5e504bd42b5b Mon Sep 17 00:00:00 2001 From: Longrin Wischnewski Date: Tue, 14 Feb 2023 15:14:12 +0100 Subject: [PATCH] fix debian/rules to compile with correct -DPIONEER_DATA_DIR flag --- debian/rules | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/debian/rules b/debian/rules index 4f54cc54ec0..7ed8652a05f 100755 --- a/debian/rules +++ b/debian/rules @@ -9,19 +9,10 @@ #export DH_VERBOSE=1 PIONEER_DATA_DIR = /usr/share/games/pioneer/data -CFLAGS = $(shell dpkg-buildflags --get CFLAGS) -CXXFLAGS = $(shell dpkg-buildflags --get CXXFLAGS) -CFLAGSMORE = -CXXFLAGSMORE = %: - dh $@ --with autoreconf --parallel + dh $@ override_dh_auto_configure: dh_auto_configure -- \ - --with-external-liblua \ - PIONEER_DATA_DIR="$(PIONEER_DATA_DIR)" \ - CFLAGS="$(CFLAGS) $(CFLAGSMORE)" \ - CXXFLAGS="$(CXXFLAGS) $(CXXFLAGSMORE)" - -override_dh_auto_test:; + -DPIONEER_DATA_DIR="$(PIONEER_DATA_DIR)"