From 43690d400bb01e2c9af6e11917e282e83db679ae Mon Sep 17 00:00:00 2001 From: ijliao Date: Sun, 29 Dec 2002 04:48:23 +0000 Subject: - Fix MASTER_SITES - Support CXXFLAGS properly - GNU_CONFIGURE -> USE_LIBTOOL PR: 46591 Submitted by: Ports Fury --- devel/libfs++/Makefile | 12 ++++++++++-- devel/libfs++/files/patch-configure | 10 ++++++++++ devel/libfs++/pkg-plist | 7 +++---- 3 files changed, 23 insertions(+), 6 deletions(-) create mode 100644 devel/libfs++/files/patch-configure (limited to 'devel') diff --git a/devel/libfs++/Makefile b/devel/libfs++/Makefile index dcacee228759..febe62ebabcc 100644 --- a/devel/libfs++/Makefile +++ b/devel/libfs++/Makefile @@ -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 diff --git a/devel/libfs++/files/patch-configure b/devel/libfs++/files/patch-configure new file mode 100644 index 000000000000..b30773103761 --- /dev/null +++ b/devel/libfs++/files/patch-configure @@ -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 --git a/devel/libfs++/pkg-plist b/devel/libfs++/pkg-plist index 7ce413bb0476..1bba36d8a52a 100644 --- a/devel/libfs++/pkg-plist +++ b/devel/libfs++/pkg-plist @@ -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++ -- cgit