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

demoting a dependency



Is there a more elegant way to do this?

install:
        ...
        # try hard to not depend on libkrb5* since usually it's not needed
        dh_shlibdeps --exclude=/usr/lib/news/bin/auth/passwd/auth_krb5
        dpkg-shlibdeps -Tdebian/tmp.substvars -dSuggests \
                $D/usr/lib/news/bin/auth/passwd/auth_krb5
        # libkrb5-3 already depends on libcomerr2
        sed -re 's/\<libcomerr2( [^,]+)?, //' \
                < debian/tmp.substvars >> debian/inn2.substvars
        rm debian/tmp.substvars
	...

-- 
ciao,
Marco


Reply to: