Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 May 2001 10:00:10 -0700 (PDT)
From:      Barry Pederson <barryp@medicine.nodak.edu>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/27065: databases/db3 shared libraries & symbolic links turned  around
Message-ID:  <200105291700.f4TH0AN94645@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/27065; it has been noted by GNATS.

From: Barry Pederson <barryp@medicine.nodak.edu>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: ports/27065: databases/db3 shared libraries & symbolic links turned 
 around
Date: Tue, 29 May 2001 11:59:42 -0500

 diff -ruN files-old/patch-aa files/patch-aa
 --- files-old/patch-aa	Fri Feb  9 13:53:28 2001
 +++ files/patch-aa	Tue May 29 11:30:59 2001
 @@ -1,5 +1,5 @@
 ---- ../dist/Makefile.in.orig	Thu Nov 30 21:07:11 2000
 -+++ ../dist/Makefile.in	Fri Feb  9 17:47:58 2001
 +--- ../dist/Makefile.in.orig	Thu Nov 30 17:07:33 2000
 ++++ ../dist/Makefile.in	Tue May 29 11:11:15 2001
  @@ -34,11 +34,11 @@
   libdb=		libdb.a
   
 @@ -39,19 +39,25 @@
   
   dmode=	755
   emode=	555
 -@@ -452,6 +452,7 @@
 +@@ -452,8 +452,8 @@
   	@cd $(libdir) && $(rm) -f \
   	    $(libso_target) $(libso) $(libso_default) $(libso_major)
   	@$(INSTALLER) $(libso_target) $(libdir)
 -+	@cd $(libdir) && $(chmod) $(fmode) $(libso)
 - 	@cd $(libdir) && $(ln) -s $(libso) $(libso_default)
 - 	@cd $(libdir) && $(ln) -s $(libso) $(libso_major)
 +-	@cd $(libdir) && $(ln) -s $(libso) $(libso_default)
 +-	@cd $(libdir) && $(ln) -s $(libso) $(libso_major)
 ++	@cd $(libdir) && $(chmod) $(fmode) $(libso_major)
 ++	@cd $(libdir) && $(ln) -s $(libso_major) $(libso_default)
   	@$(LIBTOOL) --mode=finish $(libdir)
 -@@ -463,6 +464,7 @@
 + 
 + install_dynamic_cxx:
 +@@ -463,8 +463,8 @@
   	@cd $(libdir) && $(rm) -f \
   	    $(libxso_target) $(libxso) $(libxso_default) $(libxso_major)
   	@$(INSTALLER) $(libxso_target) $(libdir)
 -+	@cd $(libdir) && $(chmod) $(fmode) $(libxso)
 - 	@cd $(libdir) && $(ln) -s $(libxso) $(libxso_default)
 - 	@cd $(libdir) && $(ln) -s $(libxso) $(libxso_major)
 +-	@cd $(libdir) && $(ln) -s $(libxso) $(libxso_default)
 +-	@cd $(libdir) && $(ln) -s $(libxso) $(libxso_major)
 ++	@cd $(libdir) && $(chmod) $(fmode) $(libxso_major)
 ++	@cd $(libdir) && $(ln) -s $(libxso_major) $(libxso_default)
   
 + install_tcl:
 + 	@echo "Installing DB Tcl library: $(libdir) ..."
 diff -ruN files-old/patch-ab files/patch-ab
 --- files-old/patch-ab	Fri Sep 22 11:48:51 2000
 +++ files/patch-ab	Tue May 29 11:31:23 2001
 @@ -1,15 +1,24 @@
 ---- ../dist/configure.orig	Fri Sep 22 19:04:19 2000
 -+++ ../dist/configure	Fri Sep 22 19:05:01 2000
 -@@ -1599,9 +1599,9 @@
 +--- ../dist/configure.orig	Tue May 29 10:55:53 2001
 ++++ ../dist/configure	Tue May 29 11:07:37 2001
 +@@ -1626,9 +1626,9 @@
   	echo $ac_n "checking libtool configuration""... $ac_c" 1>&6
 - echo "configure:1601: checking libtool configuration" >&5
 + echo "configure:1628: checking libtool configuration" >&5
   	echo "$ac_t""" 1>&6
  -	${CONFIG_SHELL-/bin/sh} $srcdir/ltconfig \
  -		--no-verify $srcdir/ltmain.sh \
  -		--output=./libtool $host_os \
 -+	${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig \
 -+		--no-verify $ac_aux_dir/ltmain.sh $target \
 ++	${CONFIG_SHELL-/bin/sh} /usr/local/share/libtool/ltconfig \
 ++		--no-verify --disable-ltlibs /usr/local/share/libtool/ltmain.sh $target \
  +		--output=./libtool \
   		--disable-static \
   	|| { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
   
 +@@ -1644,7 +1644,7 @@
 + 
 + 	INSTALLER="\$(LIBTOOL) --mode=install cp"
 + 	POSTLINK="\$(LIBTOOL) --mode=execute true"
 +-	SOLINK="\$(LIBTOOL) --mode=link ${SAVE_CC} -avoid-version"
 ++	SOLINK="\$(LIBTOOL) --mode=link ${SAVE_CC} -version-info ${DB_VERSION_MINOR}"
 + 	SOFLAGS="-rpath \$(libdir)"
 + 	o=".lo"
 + fi

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105291700.f4TH0AN94645>