[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

r2549 - glibc-package/trunk/debian/rules.d



Author: aurel32
Date: 2007-09-10 06:05:42 +0000 (Mon, 10 Sep 2007)
New Revision: 2549

Modified:
   glibc-package/trunk/debian/rules.d/debhelper.mk
Log:
Build fix



Modified: glibc-package/trunk/debian/rules.d/debhelper.mk
===================================================================
--- glibc-package/trunk/debian/rules.d/debhelper.mk	2007-09-09 22:53:46 UTC (rev 2548)
+++ glibc-package/trunk/debian/rules.d/debhelper.mk	2007-09-10 06:05:42 UTC (rev 2549)
@@ -127,9 +127,11 @@
 	dh_installdeb -p$(curpass)
 	if [ $(curpass) = nscd ] ; then \
 		dh_shlibdeps -p$(curpass) ; \
-		sed -e "s/\(Depends:.*libc[0-9.]\+\)-[a-z0-9]\+/\1/" debian/nscd/DEBIAN/control ; \
 	fi
 	dh_gencontrol -p$(curpass) -- $($(curpass)_control_flags)
+	if [ $(curpass) = nscd ] ; then \
+		sed -i -e "s/\(Depends:.*libc[0-9.]\+\)-[a-z0-9]\+/\1/" debian/nscd/DEBIAN/control ; \
+	fi
 	dh_md5sums -p$(curpass)
 	dh_builddeb -p$(curpass)
 



Reply to: