summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdebian/lenny/libraries/libkdcraw/debian/rules2
-rwxr-xr-xdebian/squeeze/libraries/libkdcraw/debian/rules2
-rwxr-xr-xubuntu/maverick/libraries/libkdcraw/debian/rules2
3 files changed, 3 insertions, 3 deletions
diff --git a/debian/lenny/libraries/libkdcraw/debian/rules b/debian/lenny/libraries/libkdcraw/debian/rules
index 33bec897c..33b687875 100755
--- a/debian/lenny/libraries/libkdcraw/debian/rules
+++ b/debian/lenny/libraries/libkdcraw/debian/rules
@@ -22,4 +22,4 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
# add installed liblcms*-dev to libkdcraw3-trinity-dev depends
common-binary-arch::
- (dpkg --get-selections "liblcms*-dev" | awk '{lcms=lcms $$1 ","} END { print "lcms-dev=" lcms}' >>debian/libkdcraw3-trinity-dev.substvars)
+ (dpkg --get-selections "liblcms*-dev" | awk '{split($$1, p, ":"); lcms=lcms p[1] ","} END { print "lcms-dev=" lcms}' >>debian/libkdcraw3-trinity-dev.substvars)
diff --git a/debian/squeeze/libraries/libkdcraw/debian/rules b/debian/squeeze/libraries/libkdcraw/debian/rules
index ad8152372..bdf76c112 100755
--- a/debian/squeeze/libraries/libkdcraw/debian/rules
+++ b/debian/squeeze/libraries/libkdcraw/debian/rules
@@ -22,4 +22,4 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
# add installed liblcms*-dev to libkdcraw3-trinity-dev depends
common-binary-arch::
- (dpkg --get-selections "liblcms*-dev" | awk '{lcms=lcms $$1 ","} END { print "lcms-dev=" lcms}' >>debian/libkdcraw3-trinity-dev.substvars)
+ (dpkg --get-selections "liblcms*-dev" | awk '{split($$1, p, ":"); lcms=lcms p[1] ","} END { print "lcms-dev=" lcms}' >>debian/libkdcraw3-trinity-dev.substvars)
diff --git a/ubuntu/maverick/libraries/libkdcraw/debian/rules b/ubuntu/maverick/libraries/libkdcraw/debian/rules
index ad8152372..bdf76c112 100755
--- a/ubuntu/maverick/libraries/libkdcraw/debian/rules
+++ b/ubuntu/maverick/libraries/libkdcraw/debian/rules
@@ -22,4 +22,4 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
# add installed liblcms*-dev to libkdcraw3-trinity-dev depends
common-binary-arch::
- (dpkg --get-selections "liblcms*-dev" | awk '{lcms=lcms $$1 ","} END { print "lcms-dev=" lcms}' >>debian/libkdcraw3-trinity-dev.substvars)
+ (dpkg --get-selections "liblcms*-dev" | awk '{split($$1, p, ":"); lcms=lcms p[1] ","} END { print "lcms-dev=" lcms}' >>debian/libkdcraw3-trinity-dev.substvars)