[SCM] Debian packaging of libjson-xs-perl branch, master, updated. debian/2.330-1-12-g8d8e76d
gregor herrmann
gregoa at debian.org
Mon May 13 18:13:33 UTC 2013
The following commit has been merged in the master branch:
commit a1c4ce3c7356a9abb8923ca3335262bbc70b63c8
Author: gregor herrmann <gregoa at debian.org>
Date: Mon May 13 20:08:34 2013 +0200
debian/rules: remove special-casing of CFLAGS.
This was needed due to #505415 (closed 2008) and now gets in the way of
debhelper and dpkg setting CFLAGS and friends themselves.
diff --git a/debian/rules b/debian/rules
index 0c1e5b4..0429587 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,25 +3,9 @@
PACKAGE = $(shell dh_listpackages)
TMP = $(CURDIR)/debian/$(PACKAGE)
-DEB_HOST_ARCH = $(shell dpkg-architecture -qDEB_HOST_ARCH)
-
-CFLAGS = -Wall -g
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
- CFLAGS += -O0
-else
- ifeq (sparc,$(DEB_HOST_ARCH))
- CFLAGS+="-O1"
- else
- CFLAGS+="-O2"
- endif
-endif
-
%:
dh $@
-override_dh_auto_configure:
- dh_auto_configure -- OPTIMIZE="$(CFLAGS)"
-
override_dh_installexamples:
dh_installexamples
sed -i '1s|^#!/opt/bin/perl|#!/usr/bin/perl|' $(TMP)/usr/share/doc/$(PACKAGE)/examples/*
--
Debian packaging of libjson-xs-perl
More information about the Pkg-perl-cvs-commits
mailing list