Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Dec 2002 06:01:35 +0900
From:      KATO Tsuguru <tkato@prontomail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/46591: Update port: devel/libfs++
Message-ID:  <20021229060135.0744dc16.tkato@prontomail.com>

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

>Number:         46591
>Category:       ports
>Synopsis:       Update port: devel/libfs++
>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 Dec 28 13:10:05 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.7-RELEASE-p2 i386
>Organization:
>Environment:
>Description:
- Fix MASTER_SITES
- Support CXXFLAGS properly
- GNU_CONFIGURE -> USE_LIBTOOL

New file:
files/patch-configure

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/devel/libfs++/Makefile devel/libfs++/Makefile
--- /usr/ports/devel/libfs++/Makefile	Fri Nov  8 21:23:43 2002
+++ devel/libfs++/Makefile	Sat Dec 28 12:30:52 2002
@@ -8,12 +8,20 @@
 
 PORTNAME=	libfs++
 PORTVERSION=	0.1.7
+PORTREVISION=	1
 CATEGORIES=	devel
-MASTER_SITES=	http://bluebat.dnsalias.org/software/libfs++/
+MASTER_SITES=	http://bluebat.dnsalias.org/software/libfs++/%SUBDIR%/
+MASTER_SITE_SUBDIR=	. archive
 
 MAINTAINER=	ports@FreeBSD.org
 
-GNU_CONFIGURE=	yes
+USE_REINPLACE=	yes
+USE_LIBTOOL=	yes
+CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 INSTALLS_SHLIB=	yes
+
+post-patch:
+	@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
+		's|-Wall -g -O2||g' 
 
 .include <bsd.port.mk>
diff -urN /usr/ports/devel/libfs++/files/patch-configure devel/libfs++/files/patch-configure
--- /usr/ports/devel/libfs++/files/patch-configure	Thu Jan  1 09:00:00 1970
+++ devel/libfs++/files/patch-configure	Sat Dec 28 12:26:12 2002
@@ -0,0 +1,10 @@
+--- configure.orig	Fri Sep 13 20:25:19 2002
++++ configure	Sat Dec 28 12:26:04 2002
+@@ -7502,6 +7502,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/libfs++/pkg-plist devel/libfs++/pkg-plist
--- /usr/ports/devel/libfs++/pkg-plist	Sun Sep 15 21:18:40 2002
+++ devel/libfs++/pkg-plist	Sat Dec 28 12:23:04 2002
@@ -1,11 +1,10 @@
-lib/libfs++.a
-lib/libfs++.la
-lib/libfs++.so
-lib/libfs++.so.0
 include/fs++/file_iterator-impl.h
 include/fs++/file_iterator.h
 include/fs++/file_monitor.h
 include/fs++/file_t.h
 include/fs++/general-impl.h
 include/fs++/general.h
+lib/libfs++.a
+lib/libfs++.so
+lib/libfs++.so.0
 @dirrm include/fs++
>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?20021229060135.0744dc16.tkato>