Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Sep 2002 09:51:44 -0700 (PDT)
From:      KATO Tsuguru <tkato@prontomail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/42889: Update port: devel/log4c
Message-ID:  <200209171651.g8HGpiqx019552@www.freebsd.org>

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

>Number:         42889
>Category:       ports
>Synopsis:       Update port: devel/log4c
>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:   Tue Sep 17 10:30:04 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.6.2-RELEASE i386
>Organization:
>Environment:
>Description:
- Support CFLAGS/CXXFLAGS properly
- Do not install useless .la files

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/devel/log4c/Makefile devel/log4c/Makefile
--- /usr/ports/devel/log4c/Makefile	Tue Sep 17 18:01:50 2002
+++ devel/log4c/Makefile	Wed Sep 18 01:50:46 2002
@@ -8,7 +8,7 @@
 
 PORTNAME=	log4c
 PORTVERSION=	1.0.6
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
 		http://www.cimai.com/opensource/log4c/
@@ -19,8 +19,8 @@
 LIB_DEPENDS=	expat.4:${PORTSDIR}/textproc/expat2
 
 USE_LIBTOOL=	yes
-GNU_CONFIGURE=	yes
-CONFIGURE_ENV=	CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
+CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib"
 INSTALLS_SHLIB=	yes
 
diff -urN /usr/ports/devel/log4c/files/patch-configure devel/log4c/files/patch-configure
--- /usr/ports/devel/log4c/files/patch-configure	Thu Jan  1 09:00:00 1970
+++ devel/log4c/files/patch-configure	Sun Sep 15 03:24:39 2002
@@ -0,0 +1,10 @@
+--- configure.orig	Thu May  2 02:30:57 2002
++++ configure	Sun Sep 15 03:24:28 2002
+@@ -6689,6 +6689,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 -urN /usr/ports/devel/log4c/pkg-plist devel/log4c/pkg-plist
--- /usr/ports/devel/log4c/pkg-plist	Thu Jul  4 14:32:19 2002
+++ devel/log4c/pkg-plist	Sun Sep 15 03:24:12 2002
@@ -14,9 +14,8 @@
 include/log4c/logging_event.h
 include/log4c/priority.h
 include/log4c/version.h
-@dirrm include/log4c
 lib/liblog4c.a
-lib/liblog4c.la
 lib/liblog4c.so
 lib/liblog4c.so.1
 share/aclocal/log4c.m4
+@dirrm include/log4c

>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?200209171651.g8HGpiqx019552>