X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/6f22b3f9f693ab2dce37662a867f9e6d8aff34a8..ef01898d984dcf9e7c044d5a7b638f69b1ef6b76:/openwrt/package/pcre/pcre-5.0-3.diff?ds=inline diff --git a/openwrt/package/pcre/pcre-5.0-3.diff b/openwrt/package/pcre/pcre-5.0-3.diff index e5239d403..4d71ff77c 100644 --- a/openwrt/package/pcre/pcre-5.0-3.diff +++ b/openwrt/package/pcre/pcre-5.0-3.diff @@ -129,7 +129,7 @@ diff -ruN pcre-5.0-orig/ipkg/rules pcre-5.0-3/ipkg/rules + chmod 0755 ipkg/*/CONTROL/ + chmod 0644 ipkg/*/CONTROL/control + -+ perl -pi -e "s/^Arch.*:.*/Architecture: $(TARGET_ARCH)/g" ipkg/*/CONTROL/control ++ perl -pi -e "s/^Arch.*:.*/Architecture: $(ARCH)/g" ipkg/*/CONTROL/control +ifneq ($(strip $(PKG_VERSION)),) + perl -pi -e "s/^Vers.*:.*/Version: $(PKG_VERSION)/g" ipkg/*/CONTROL/control +endif