Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Mar 2002 20:26:01 -0800 (PST)
From:      KATO Tsuguru <tkato@prontomail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/35493: Update port: devel/log4cpp
Message-ID:  <200203030426.g234Q1t57358@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         35493
>Category:       ports
>Synopsis:       Update port: devel/log4cpp
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 02 20:30:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.4-RELEASE i386
>Organization:
>Environment:
>Description:
- Do not install useless .la files

New file:
files/patch-config:ltmain.sh

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/devel/log4cpp/Makefile devel/log4cpp/Makefile
--- /usr/ports/devel/log4cpp/Makefile	Fri Feb 22 22:49:31 2002
+++ devel/log4cpp/Makefile	Fri Mar  1 22:58:31 2002
@@ -8,6 +8,7 @@
 
 PORTNAME=	log4cpp
 PORTVERSION=	0.2.7
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -15,7 +16,7 @@
 MAINTAINER=	ports@FreeBSD.org
 
 GNU_CONFIGURE=	yes
-WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:S,b,,}
+CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
 INSTALLS_SHLIB=	yes
 
 .include <bsd.port.mk>
diff -urN /usr/ports/devel/log4cpp/files/patch-config:ltmain.sh devel/log4cpp/files/patch-config:ltmain.sh
--- /usr/ports/devel/log4cpp/files/patch-config:ltmain.sh	Thu Jan  1 09:00:00 1970
+++ devel/log4cpp/files/patch-config:ltmain.sh	Sat Mar  2 08:57:50 2002
@@ -0,0 +1,25 @@
+--- config/ltmain.sh.orig	Thu Jul  5 23:41:01 2001
++++ config/ltmain.sh	Fri Mar  1 22:56:44 2002
+@@ -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 -urN /usr/ports/devel/log4cpp/pkg-plist devel/log4cpp/pkg-plist
--- /usr/ports/devel/log4cpp/pkg-plist	Fri Feb 22 22:49:33 2002
+++ devel/log4cpp/pkg-plist	Fri Mar  1 22:59:24 2002
@@ -29,8 +29,7 @@
 include/log4cpp/config-openvms.h
 include/log4cpp/config-win32.h
 include/log4cpp/config.h
-@dirrm include/log4cpp
 lib/liblog4cpp.a
-lib/liblog4cpp.la
 lib/liblog4cpp.so
 lib/liblog4cpp.so.3
+@dirrm include/log4cpp

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203030426.g234Q1t57358>