Browse Source

Clifford Wolf:


			
			
				rocklinux
			
			
		
Clifford Wolf 20 years ago
parent
commit
1162bb23f0
2 changed files with 20 additions and 1 deletions
  1. +5
    -1
      package/base/bdb/bdb.conf
  2. +15
    -0
      package/base/bdb/transform-name.patch_bdb42

+ 5
- 1
package/base/bdb/bdb.conf

@ -38,7 +38,11 @@ is_bdb_default() {
# we need the install-sh here, since our gnu-install does not
# handle the transform-name ...
is_bdb_default || var_append confopt ' ' "--program-transform-name='s/db/${xpkg:1}/'"
if ! is_bdb_default; then
var_append confopt ' ' "--program-transform-name='s/db/${xpkg:1}/'"
var_append makeinstopt ' ' "transform='s/db/${xpkg:1}/'"
# var_append INSTALL_WRAPPER_FILTER "|" 'sed "s,bin/db,bin/${xpkg:1},"'
fi
# bdb doesn't like some of our make options
makeopt="docdir=$docdir all"

+ 15
- 0
package/base/bdb/transform-name.patch_bdb42

@ -0,0 +1,15 @@
--- ./dist/Makefile.in.orig 2004-09-07 05:07:00.193054384 +0200
+++ ./dist/Makefile.in 2004-09-07 05:08:29.964407064 +0200
@@ -812,11 +812,7 @@
($(mkdir) -p $(DESTDIR)$(bindir) && \
$(chmod) $(dmode) $(DESTDIR)$(bindir))
@for i in $(UTIL_PROGS); do \
- $(rm) -f $(DESTDIR)$(bindir)/$$i $(DESTDIR)$(bindir)/$$i.exe; \
- test -f $$i.exe && i=$$i.exe || true; \
- $(INSTALLER) $$i $(DESTDIR)$(bindir)/$$i; \
- test -f $(strip) && $(strip) $(DESTDIR)$(bindir)/$$i || true; \
- $(chmod) $(emode) $(DESTDIR)$(bindir)/$$i; \
+ cp $$i $(DESTDIR)$(bindir)/`basename $$i | sed $(transform)`; \
done
uninstall_utilities:

Loading…
Cancel
Save