diff options
author | Stefan Fröberg <stefan.froberg@petroprogram.com> | 2013-01-03 12:09:03 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2013-01-04 22:33:34 +0100 |
commit | 857413845eac7f00a9219d7ed45177ae1d271f65 (patch) | |
tree | b6496c42a468b30179bf87784259bfc9a2ccfb2f /package | |
parent | 6ba5ac89f890b1dd515fc906bbd82cfdc373e5a2 (diff) | |
download | buildroot-novena-857413845eac7f00a9219d7ed45177ae1d271f65.tar.gz buildroot-novena-857413845eac7f00a9219d7ed45177ae1d271f65.zip |
libgcrypt: fix libgcrypt-config
[Peter: use a single sed invocation]
Signed-off-by: Stefan Fröberg <stefan.froberg@petroprogram.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r-- | package/libgcrypt/libgcrypt.mk | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/package/libgcrypt/libgcrypt.mk b/package/libgcrypt/libgcrypt.mk index 3aa60c697..b0a8a738d 100644 --- a/package/libgcrypt/libgcrypt.mk +++ b/package/libgcrypt/libgcrypt.mk @@ -25,5 +25,13 @@ endef LIBGCRYPT_POST_PATCH_HOOKS += LIBGCRYPT_DISABLE_TESTS +define LIBGCRYPT_STAGING_LIBGCRYPT_CONFIG_FIXUP + $(SED) "s,^prefix=.*,prefix=\'$(STAGING_DIR)/usr\',g" \ + -e "s,^exec_prefix=.*,exec_prefix=\'$(STAGING_DIR)/usr\',g" \ + $(STAGING_DIR)/usr/bin/libgcrypt-config +endef + +LIBGCRYPT_POST_INSTALL_STAGING_HOOKS += LIBGCRYPT_STAGING_LIBGCRYPT_CONFIG_FIXUP + $(eval $(autotools-package)) |