summaryrefslogtreecommitdiffstats
path: root/ldap/admin/src
diff options
context:
space:
mode:
authorRich Megginson <rmeggins@redhat.com>2006-02-17 17:02:05 +0000
committerRich Megginson <rmeggins@redhat.com>2006-02-17 17:02:05 +0000
commitfb511a7f2c7c628b0ee2dc15ebcdded807e199ba (patch)
treef094a1cf51a2cd5755ccf2e6a835d22ebe68eba9 /ldap/admin/src
parentc453431f66673f6aeed97e82aa0627d39e698a1f (diff)
downloadds-fb511a7f2c7c628b0ee2dc15ebcdded807e199ba.tar.gz
ds-fb511a7f2c7c628b0ee2dc15ebcdded807e199ba.tar.xz
ds-fb511a7f2c7c628b0ee2dc15ebcdded807e199ba.zip
Don't attempt to package 32 bit NSS apps/libs with the 64 bit package on rhel/linux - assume everything is native 64 bit.
Diffstat (limited to 'ldap/admin/src')
-rw-r--r--ldap/admin/src/Makefile14
1 files changed, 13 insertions, 1 deletions
diff --git a/ldap/admin/src/Makefile b/ldap/admin/src/Makefile
index e5e72793..17d3ea11 100644
--- a/ldap/admin/src/Makefile
+++ b/ldap/admin/src/Makefile
@@ -235,8 +235,20 @@ INST_INCLUDES = $(OBJDIR)/install_keywords.h
TEMPLATE_SCRIPTS_SRC = $(wildcard scripts/template-*)
TEMPLATE_SCRIPTS_DEST = $(subst scripts/,$(SCRIPTSDIR)/,$(TEMPLATE_SCRIPTS_SRC))
+# We only need to do this if we have to ship 32 bit binaries in our 64 bit packages
+# Right now, on rhel/linux, we ship all native 64 bit apps so we don't have to do
+# this. We still may need to do this on solaris/hpux, but hopefully not for very
+# much longer
ifeq ($(USE_64), 1)
- FIX_SECMOD_DEP = $(BINDIR)/fix_secmod_db_64
+ ifeq ($(ARCH), RHEL)
+ FIX_SECMOD_DEP =
+ else
+ ifeq ($(ARCH), Linux)
+ FIX_SECMOD_DEP =
+ else
+ FIX_SECMOD_DEP = $(BINDIR)/fix_secmod_db_64
+ endif
+ endif
endif
# gmake 3.74 will remove "intermediate" files if generated via a pattern match rule