aboutsummaryrefslogtreecommitdiffstats
path: root/databases/db4/files
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-11-20 21:15:12 +0800
committerijliao <ijliao@FreeBSD.org>2002-11-20 21:15:12 +0800
commit00127e5ed70f6a3977f5d8fcbd15a99a45eb9a5c (patch)
treedd05597dd69f6556e67663a9b8749dd9a7889b56 /databases/db4/files
parent5d7bcddf040e5177396571683866de37ad72f7db (diff)
downloadfreebsd-ports-graphics-00127e5ed70f6a3977f5d8fcbd15a99a45eb9a5c.tar.gz
freebsd-ports-graphics-00127e5ed70f6a3977f5d8fcbd15a99a45eb9a5c.tar.zst
freebsd-ports-graphics-00127e5ed70f6a3977f5d8fcbd15a99a45eb9a5c.zip
- Do not install useless .la files
- Utilize NOPORTDOCS PR: 45446 Submitted by: Ports Fury
Diffstat (limited to 'databases/db4/files')
-rw-r--r--databases/db4/files/patch-dist::Makefile.in13
-rw-r--r--databases/db4/files/patch-dist::ltmain.sh32
2 files changed, 43 insertions, 2 deletions
diff --git a/databases/db4/files/patch-dist::Makefile.in b/databases/db4/files/patch-dist::Makefile.in
index 136ab161efd..cf1f67e21a7 100644
--- a/databases/db4/files/patch-dist::Makefile.in
+++ b/databases/db4/files/patch-dist::Makefile.in
@@ -1,5 +1,5 @@
---- ../dist/Makefile.in.orig Sat Nov 10 01:48:45 2001
-+++ ../dist/Makefile.in Wed Dec 5 13:38:23 2001
+--- ../dist/Makefile.in.orig Sat Nov 10 07:48:45 2001
++++ ../dist/Makefile.in Sat Nov 9 17:36:00 2002
@@ -11,7 +11,7 @@
bindir= @bindir@
includedir=@includedir@
@@ -133,3 +133,12 @@
$(CCLINK) -o $@ $(LDFLAGS) \
db_verify@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
$(POSTLINK) $@
+@@ -385,7 +386,7 @@
+ # Library and standard utilities install.
+ ##################################################
+ library_install: install_setup
+-library_install: install_include install_lib install_utilities install_docs
++library_install: install_include install_lib install_utilities
+
+ uninstall: uninstall_include uninstall_lib uninstall_utilities uninstall_docs
+
diff --git a/databases/db4/files/patch-dist::ltmain.sh b/databases/db4/files/patch-dist::ltmain.sh
new file mode 100644
index 00000000000..7ba6dbdfd3f
--- /dev/null
+++ b/databases/db4/files/patch-dist::ltmain.sh
@@ -0,0 +1,32 @@
+--- ../dist/ltmain.sh.orig Sat Nov 17 01:15:01 2001
++++ ../dist/ltmain.sh Sat Nov 9 17:08:02 2002
+@@ -1043,14 +1043,14 @@
+ # These systems don't actually have a C library (as such)
+ test "X$arg" = "X-lc" && continue
+ ;;
+- *-*-openbsd*)
++ *-*-openbsd* | *-*-freebsd*)
+ # Do not include libc due to us having libc/libc_r.
+ test "X$arg" = "X-lc" && continue
+ ;;
+ esac
+ elif test "X$arg" = "X-lc_r"; then
+ case $host in
+- *-*-openbsd*)
++ *-*-openbsd* | *-*-freebsd*)
+ # Do not include libc_r directly, use -pthread flag.
+ continue
+ ;;
+@@ -4217,10 +4217,12 @@
+ fi
+
+ # Install the pseudo-library for information purposes.
++ if /usr/bin/false; then
+ name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+ instname="$dir/$name"i
+ $show "$install_prog $instname $destdir/$name"
+ $run eval "$install_prog $instname $destdir/$name" || exit $?
++ fi
+
+ # Maybe install the static library, too.
+ test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"