aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-01-20 03:22:53 +0800
committermarcus <marcus@FreeBSD.org>2003-01-20 03:22:53 +0800
commit749023e8c34bbcc8553bfb16d34569ff8af57f9b (patch)
tree034a8b35ea56d05a21fb45f350bfb3fa35e6996d
parent62b3b439369988e9d72973352ddca1cff4b25a4b (diff)
downloadfreebsd-ports-gnome-749023e8c34bbcc8553bfb16d34569ff8af57f9b.tar.gz
freebsd-ports-gnome-749023e8c34bbcc8553bfb16d34569ff8af57f9b.tar.zst
freebsd-ports-gnome-749023e8c34bbcc8553bfb16d34569ff8af57f9b.zip
* Do not explicitly link against libc
* Do not install module .a files Approved by: maintainer
-rw-r--r--mail/libesmtp/Makefile1
-rw-r--r--mail/libesmtp/files/patch-configure10
-rw-r--r--mail/libesmtp/files/patch-ltmain.sh28
-rw-r--r--mail/libesmtp/pkg-plist4
4 files changed, 11 insertions, 32 deletions
diff --git a/mail/libesmtp/Makefile b/mail/libesmtp/Makefile
index ae38cd4b6c9e..1031cc724d1f 100644
--- a/mail/libesmtp/Makefile
+++ b/mail/libesmtp/Makefile
@@ -6,6 +6,7 @@
PORTNAME= libesmtp
PORTVERSION= 1.0
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= mail
MASTER_SITES= http://www.stafford.uklinux.net/libesmtp/ \
diff --git a/mail/libesmtp/files/patch-configure b/mail/libesmtp/files/patch-configure
new file mode 100644
index 000000000000..ff6513af4fb4
--- /dev/null
+++ b/mail/libesmtp/files/patch-configure
@@ -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'
diff --git a/mail/libesmtp/files/patch-ltmain.sh b/mail/libesmtp/files/patch-ltmain.sh
deleted file mode 100644
index 98cb05e4ddb3..000000000000
--- a/mail/libesmtp/files/patch-ltmain.sh
+++ /dev/null
@@ -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"
diff --git a/mail/libesmtp/pkg-plist b/mail/libesmtp/pkg-plist
index 2875a301d69a..dc04ed576b92 100644
--- a/mail/libesmtp/pkg-plist
+++ b/mail/libesmtp/pkg-plist
@@ -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