Bug 31076 - Update port: mail/pop3lite to 0.2.4a
Summary: Update port: mail/pop3lite to 0.2.4a
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Mario Sergio Fujikawa Ferreira
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-05 21:10 UTC by tkato
Modified: 2001-10-11 19:54 UTC (History)
0 users

See Also:


Attachments
file.diff (2.59 KB, patch)
2001-10-05 21:10 UTC, tkato
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tkato 2001-10-05 21:10:02 UTC
- Update to version 0.2.4a
Comment 1 Mario Sergio Fujikawa Ferreira freebsd_committer freebsd_triage 2001-10-06 17:21:18 UTC
Responsible Changed
From-To: freebsd-ports->lioux

I'll handle this
Comment 2 lioux 2001-10-06 17:27:57 UTC
Hi,

	I did some changes to your patch based on an idea from sobomax.
Instead of installing .la files, it will install .a libs.
	Let me know what do you think.

	Regards,

diff -ruN pop3lite/Makefile pop3lite.orig/Makefile
--- pop3lite/Makefile	Sat Oct  6 13:23:12 2001
+++ pop3lite.orig/Makefile	Sat Oct  6 13:20:50 2001
@@ -11,17 +11,16 @@
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
 
+BUILD_DEPENDS=	libtool:${PORTSDIR}/devel/libtool
+
 MAINTAINER=	ports@FreeBSD.org
 
 USE_GLIB=	yes
 USE_GMAKE=	yes
-USE_LIBTOOL=	yes
+GNU_CONFIGURE=	yes
 INSTALLS_SHLIB=	yes
 
 MAN5=		pop3lite.conf.5
 MAN8=		pop3lite.8
-
-pre-build:
-	@${LN} -sf ${LOCALBASE}/bin/libtool ${WRKSRC}/libtool
 
 .include <bsd.port.mk>
diff -ruN pop3lite/files/patch-ltmain.sh pop3lite.orig/files/patch-ltmain.sh
--- pop3lite/files/patch-ltmain.sh	Wed Dec 31 21:00:00 1969
+++ pop3lite.orig/files/patch-ltmain.sh	Sat Oct  6 13:25:31 2001
@@ -0,0 +1,14 @@
+--- ltmain.sh.orig	Fri Aug 24 10:52:18 2001
++++ ltmain.sh	Sat Oct  6 13:25:20 2001
+@@ -4174,11 +4174,6 @@
+ 	  IFS="$save_ifs"
+ 	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 $?
+ 
+ 	# Maybe install the static library, too.
+ 	test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
diff -ruN pop3lite/pkg-plist pop3lite.orig/pkg-plist
--- pop3lite/pkg-plist	Sat Oct  6 13:23:12 2001
+++ pop3lite.orig/pkg-plist	Sat Oct  6 13:18:05 2001
@@ -6,31 +6,31 @@
 @unexec install-info --delete %D/info/pop3lite-admin.info %D/info/dir
 info/pop3lite-admin.info
 @exec install-info %D/info/pop3lite-admin.info %D/info/dir
-lib/pop3lite/alias.la
+lib/pop3lite/alias.a
 lib/pop3lite/alias.so
-lib/pop3lite/apop.la
+lib/pop3lite/apop.a
 lib/pop3lite/apop.so
-lib/pop3lite/capa.la
+lib/pop3lite/capa.a
 lib/pop3lite/capa.so
-lib/pop3lite/connectlog.la
+lib/pop3lite/connectlog.a
 lib/pop3lite/connectlog.so
-lib/pop3lite/disable.la
+lib/pop3lite/disable.a
 lib/pop3lite/disable.so
-lib/pop3lite/expire.la
+lib/pop3lite/expire.a
 lib/pop3lite/expire.so
-lib/pop3lite/filelog.la
+lib/pop3lite/filelog.a
 lib/pop3lite/filelog.so
-lib/pop3lite/homebox.la
+lib/pop3lite/homebox.a
 lib/pop3lite/homebox.so
-lib/pop3lite/iplog.la
+lib/pop3lite/iplog.a
 lib/pop3lite/iplog.so
-lib/pop3lite/pam.la
+lib/pop3lite/pam.a
 lib/pop3lite/pam.so
-lib/pop3lite/sabotage.la
+lib/pop3lite/sabotage.a
 lib/pop3lite/sabotage.so
-lib/pop3lite/userconf.la
+lib/pop3lite/userconf.a
 lib/pop3lite/userconf.so
-lib/pop3lite/vhost.la
+lib/pop3lite/vhost.a
 lib/pop3lite/vhost.so
 sbin/pop3lite
 share/doc/pop3lite/AUTHORS

-- 
Mario S F Ferreira - UnB - Brazil - "I guess this is a signature."
lioux at ( freebsd dot org | linf dot unb dot br )
flames to beloved devnull@someotherworldbeloworabove.org
feature, n: a documented bug | bug, n: an undocumented feature
Comment 3 lioux 2001-10-09 22:29:13 UTC
On Tue, Oct 09, 2001 at 11:00:21AM -1500, KATO Tsuguru wrote:
> > Let me know what do you think.
> 
> I suppose .la files are 'required' in this case.
> Have you confirmed that this port runs fine with
> no .la file?

	Hummm, nope. I don't use it. I might be pushing
a bit too much .... :) but could you test it?
	There shouldn't be a problem since .la are just
hooks for libtool to get .a

> Even if .la file isn't used at all, .a file should
> ordinally be larger than .la file. At now, it
> seems there is no reason to skip using USE_LIBTOOL
> for me.

	Discussions on both -developers and -ports point
that .la shouldn't be installed. .a are preferred. I think
it was a message from sobomax.
	We can add the one with .la and remove them in the
next revision if we have to but I'd rather update it completely
with this patch.

	Regards,

-- 
Mario S F Ferreira - UnB - Brazil - "I guess this is a signature."
lioux at ( freebsd dot org | linf dot unb dot br )
flames to beloved devnull@someotherworldbeloworabove.org
feature, n: a documented bug | bug, n: an undocumented feature
Comment 4 tkato 2001-10-10 03:00:43 UTC
> Let me know what do you think.

I suppose .la files are 'required' in this case.
Have you confirmed that this port runs fine with
no .la file?

Even if .la file isn't used at all, .a file should
ordinally be larger than .la file. At now, it
seems there is no reason to skip using USE_LIBTOOL
for me.


______________________________________________________________
Get Your Free E-mail at http://www.prontomail.com
Comment 5 Mario Sergio Fujikawa Ferreira freebsd_committer freebsd_triage 2001-10-11 19:54:29 UTC
State Changed
From-To: open->closed

Committed, thanks!