[23577] in Source-Commits

home help back first fref pref prev next nref lref last post

/svn/athena r23218 - trunk/debathena/third/alpine

daemon@ATHENA.MIT.EDU (andersk@MIT.EDU)
Mon Oct 27 03:37:39 2008

Date: Mon, 27 Oct 2008 03:37:10 -0400 (EDT)
From: andersk@MIT.EDU
Message-Id: <200810270737.DAA19025@drugstore.mit.edu>
To: source-commits@MIT.EDU
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Author: andersk
Date: 2008-10-27 03:37:09 -0400 (Mon, 27 Oct 2008)
New Revision: 23218

Modified:
   trunk/debathena/third/alpine/debathenify-alpine
Log:
Deal with alpine 2.00, which was repackaged using CDBS.


Modified: trunk/debathena/third/alpine/debathenify-alpine
===================================================================
--- trunk/debathena/third/alpine/debathenify-alpine	2008-10-27 07:19:07 UTC (rev 23217)
+++ trunk/debathena/third/alpine/debathenify-alpine	2008-10-27 07:37:09 UTC (rev 23218)
@@ -30,7 +30,12 @@
   patch -p1 < $dir/alpine-1.00-hesiod.patch
 
   # Turn on Hesiod and krb4 suppport in the build.
-  perl -0pe 's|./configure|./configure alpine_c_client_cflags="-DHESIOD -DKERBEROS" alpine_c_client_ldflags="-lhesiod" LIBS="-lhesiod -lkrb4"|m or die' -i debian/rules
+  configure_flags='alpine_c_client_cflags="-DHESIOD -DKERBEROS" alpine_c_client_ldflags="-lhesiod" LIBS="-lhesiod -lkrb4"'
+  if grep -Fq DEB_CONFIGURE_EXTRA_FLAGS debian/rules; then
+    echo "DEB_CONFIGURE_EXTRA_FLAGS += $configure_flags" >> debian/rules
+  else
+    perl -0pe "s|./configure|./configure $configure_flags|m or die" -i debian/rules
+  fi
   append_description <<EOF
  .
  This package was rebuilt for the Debian-Athena project to add Hesiod


home help back first fref pref prev next nref lref last post