1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

* Do not explicitly link against libc

* Do not install module .a files

Approved by:	maintainer
This commit is contained in:
Joe Marcus Clarke 2003-01-19 19:22:53 +00:00
parent 29f01dc7db
commit a2f8b226cc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=73513
4 changed files with 11 additions and 32 deletions

View File

@ -6,6 +6,7 @@
PORTNAME= libesmtp
PORTVERSION= 1.0
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= mail
MASTER_SITES= http://www.stafford.uklinux.net/libesmtp/ \

View File

@ -0,0 +1,10 @@
--- configure.orig Tue Dec 31 14:16:20 2002
+++ configure Tue Dec 31 14:16:31 2002
@@ -5402,6 +5402,7 @@
# This can be used to rebuild libtool when needed
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
# Always use our own libtool.
LIBTOOL='$(SHELL) $(top_builddir)/libtool'

View File

@ -1,28 +0,0 @@
$FreeBSD$
--- ltmain.sh 2001/08/27 09:51:26 1.1
+++ ltmain.sh 2001/08/27 09:51:42
@@ -2408,6 +2408,9 @@
*-*-netbsd*)
# Don't link with libc until the a.out ld.so is fixed.
;;
+ *-*-freebsd*)
+ # FreeBSD doesn't need this...
+ ;;
*)
# Add libc to deplibs on all other systems if necessary.
if test "$build_libtool_need_lc" = "yes"; then
@@ -4175,10 +4178,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"

View File

@ -2,13 +2,9 @@ bin/libesmtp-config
include/auth-client.h
include/auth-plugin.h
include/libesmtp.h
lib/esmtp-plugins/sasl-cram-md5.a
lib/esmtp-plugins/sasl-cram-md5.so
lib/esmtp-plugins/sasl-login.a
lib/esmtp-plugins/sasl-login.so
lib/esmtp-plugins/sasl-ntlm.a
lib/esmtp-plugins/sasl-ntlm.so
lib/esmtp-plugins/sasl-plain.a
lib/esmtp-plugins/sasl-plain.so
lib/libesmtp.a
lib/libesmtp.so