summaryrefslogtreecommitdiff
path: root/package/krb5
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-08-05 22:49:12 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-08-05 22:49:12 +0200
commita2e96ddb9519a2f40857f11501b88e465d25082d (patch)
tree10defcae7e5d0452ca35d7d43e8fac59f5038064 /package/krb5
parentdd48d0019b7f5442cef387b5754a276b33f8e52f (diff)
parent91024313d470314ecd49ecc0a9cdd80573b24139 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/krb5')
-rw-r--r--package/krb5/Makefile4
-rw-r--r--package/krb5/patches/patch-src_util_export-check_pl11
2 files changed, 15 insertions, 0 deletions
diff --git a/package/krb5/Makefile b/package/krb5/Makefile
index 7d3834990..bb4e809c1 100644
--- a/package/krb5/Makefile
+++ b/package/krb5/Makefile
@@ -46,6 +46,10 @@ CONFIGURE_ENV+= krb5_cv_attr_constructor_destructor=yes,yes \
post-extract:
(cd ${WRKDIR}; tar xzf ${PKG_NAME}-${PKG_VERSION}.tar.gz)
+pre-build:
+ # fix nm call in script, we need the GNU version of nm
+ $(SED) "s#@@NM@@#${NM}#" ${WRKSRC}/util/export-check.pl
+
post-install: ${SUB_INSTALLS-m} ${SUB_INSTALLS-y}
${INSTALL_DIR} ${IDIR_KRB5_SERVER}/etc
${INSTALL_DIR} ${IDIR_KRB5_SERVER}/etc/krb5kdc
diff --git a/package/krb5/patches/patch-src_util_export-check_pl b/package/krb5/patches/patch-src_util_export-check_pl
new file mode 100644
index 000000000..04d21a299
--- /dev/null
+++ b/package/krb5/patches/patch-src_util_export-check_pl
@@ -0,0 +1,11 @@
+--- krb5-1.8.1.orig/src/util/export-check.pl Sun Aug 1 18:36:11 2010
++++ krb5-1.8.1/src/util/export-check.pl Sun Aug 1 18:27:23 2010
+@@ -38,7 +38,7 @@ if ($#ARGV != 1) {
+ my($exfile, $libfile) = @ARGV;
+
+ @missing = ();
+-open NM, "nm -Dg --defined-only $libfile |" || die "can't run nm on $libfile: $!";
++open NM, "@@NM@@ -Dg --defined-only $libfile |" || die "can't run nm on $libfile: $!";
+ open EXPORT, "< $exfile" || die "can't read $exfile: $!";
+
+ @export = <EXPORT>;