freebsd-ports/security/clamav/files/patch-ltmain.sh
Dirk Meyer 5e2bc95fa1 - don't remove clamav account on deinstall
- use included libtool (seems heavily patched)
- make packageable and include a working configure file
- add a rcNG start/stop script
- added web site
- don't install useless .la files
- use DATADIR
- 510001 is FreeBSD 5.10, 5.1-CURRENT is 501100
- minor cleanup

PR:		57256
Submitted by:	eikemeier@fillmore-labs.com
2003-09-28 13:29:28 +00:00

23 lines
760 B
Bash

--- ltmain.sh.orig Sat Sep 27 05:20:20 2003
+++ ltmain.sh Sat Sep 27 05:24:02 2003
@@ -4259,10 +4259,16 @@
fi
# Install the pseudo-library for information purposes.
- 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 $?
+ case $host in
+ *-*-freebsd*)
+ # Do not install the useless pseudo-library
+ ;;
+ *)
+ 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 $?
+ esac
# Maybe install the static library, too.
test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"