Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jul 2002 13:13:19 -0700 (PDT)
From:      KATO Tsuguru <tkato@prontomail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/41172: Update port: math/cln to 1.1.5
Message-ID:  <200207302013.g6UKDJ2p049540@www.freebsd.org>

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

>Number:         41172
>Category:       ports
>Synopsis:       Update port: math/cln to 1.1.5
>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 Jul 30 13:20:04 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.6-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 1.1.5

New file:
files/patch-configure

Remove file:
files/patch-Makefile.in

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/math/cln/Makefile math/cln/Makefile
--- /usr/ports/math/cln/Makefile	Tue Jun 25 19:26:43 2002
+++ math/cln/Makefile	Wed Jul 31 01:24:00 2002
@@ -7,8 +7,7 @@
 #
 
 PORTNAME=	cln
-PORTVERSION=	1.1.4
-PORTREVISION=	1
+PORTVERSION=	1.1.5
 CATEGORIES=	math devel
 MASTER_SITES=	ftp://ftp.ilog.fr/pub/Users/haible/gnu/ \
 		ftp://ftp.santafe.edu/pub/gnu/ \
@@ -18,19 +17,27 @@
 
 LIB_DEPENDS=	gmp.6:${PORTSDIR}/math/libgmp4
 
-USE_LIBTOOL=	yes
-CFLAGS+=	-I${LOCALBASE}/include
-CONFIGURE_ENV=	CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
-		LIBS="-L${LOCALBASE}/lib"
-CONFIGURE_ARGS=	--datadir=${PREFIX}/share/cln --infodir=${PREFIX}/info \
-		--mandir=${PREFIX}/man --with-gmp
+STRIP=		# none
 
 USE_GMAKE=	yes
+USE_LIBTOOL=	yes
+CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
+		LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS=	--infodir=${PREFIX}/info --mandir=${PREFIX}/man \
+		--with-gmp
+MAKE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
+		LDFLAGS="-L${LOCALBASE}/lib"
 INSTALLS_SHLIB=	yes
 
 MAN1=		cln-config.1
 
-pre-build:
-	@(cd ${WRKSRC} ; ${LN} -sf ${LOCALBASE}/bin/libtool .)
+post-install:
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${DOCSDIR}/dvi
+	${INSTALL_DATA} ${WRKSRC}/doc/*.dvi ${DOCSDIR}/dvi
+	@${MKDIR} ${DOCSDIR}/html
+	${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}/html
+.endif
 
 .include <bsd.port.mk>
diff -urN /usr/ports/math/cln/distinfo math/cln/distinfo
--- /usr/ports/math/cln/distinfo	Wed Mar 13 20:38:58 2002
+++ math/cln/distinfo	Tue Jul 30 06:39:53 2002
@@ -1 +1 @@
-MD5 (cln-1.1.4.tar.gz) = 680494c770199af77f0df9beceaf2fa9
+MD5 (cln-1.1.5.tar.gz) = 55d9e26806bfe9023c09caf2d7e7e91b
diff -urN /usr/ports/math/cln/files/patch-Makefile.in math/cln/files/patch-Makefile.in
--- /usr/ports/math/cln/files/patch-Makefile.in	Mon Feb 12 23:55:43 2001
+++ math/cln/files/patch-Makefile.in	Thu Jan  1 09:00:00 1970
@@ -1,19 +0,0 @@
---- Makefile.in.orig	Sun Feb 11 16:52:48 2001
-+++ Makefile.in	Sun Feb 11 17:03:58 2001
-@@ -33,14 +33,13 @@
- 
- install : installdirs force
- 	cd @subdir@; $(MAKE) install
--	$(INSTALL_PROGRAM) cln-config $(DESTDIR)$(bindir)/cln-config
-+	$(INSTALL) cln-config $(DESTDIR)$(bindir)/cln-config
- 	$(INSTALL_DATA) cln-config.1 $(DESTDIR)$(mandir)/man1/cln-config.1
--	$(INSTALL_DATA) cln.m4 $(DESTDIR)$(datadir)/aclocal/cln.m4
-+	$(INSTALL_DATA) cln.m4 $(DESTDIR)$(prefix)/share/aclocal/cln.m4
- 
- installdirs : force
- 	cd @subdir@; $(MAKE) installdirs
- 	$(MKDIR) $(DESTDIR)$(mandir)/man1
--	$(MKDIR) $(DESTDIR)$(datadir)/aclocal
- 	$(MKDIR) $(DESTDIR)$(bindir)
- 
- uninstall : force
diff -urN /usr/ports/math/cln/files/patch-configure math/cln/files/patch-configure
--- /usr/ports/math/cln/files/patch-configure	Thu Jan  1 09:00:00 1970
+++ math/cln/files/patch-configure	Tue Jul 30 06:41:07 2002
@@ -0,0 +1,10 @@
+--- configure.orig	Tue May 28 22:55:47 2002
++++ configure	Tue Jul 30 06:40:57 2002
+@@ -6933,6 +6933,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/math/cln/files/patch-doc::Makefile.in math/cln/files/patch-doc::Makefile.in
--- /usr/ports/math/cln/files/patch-doc::Makefile.in	Mon Feb 12 23:55:43 2001
+++ math/cln/files/patch-doc::Makefile.in	Wed Jul 31 01:22:09 2002
@@ -1,10 +1,12 @@
---- doc/Makefile.in.orig	Sun Feb 11 17:11:56 2001
-+++ doc/Makefile.in	Sun Feb 11 17:24:01 2001
-@@ -81,6 +81,7 @@
+--- doc/Makefile.in.orig	Wed Dec  6 00:38:27 2000
++++ doc/Makefile.in	Wed Jul 31 01:21:51 2002
+@@ -81,8 +81,7 @@
  
  install : all installdirs force
  	$(INSTALL_DATA) $(srcdir)/$(PACKAGE).info $(DESTDIR)$(infodir)/$(PACKAGE).info
-+	install-info $(srcdir)/$(PACKAGE).info $(DESTDIR)$(infodir)/dir
- 	$(INSTALL_DATA) $(srcdir)/$(PACKAGE)_*.html $(DESTDIR)$(htmldir)
- 	$(INSTALL_DATA) $(srcdir)/$(PACKAGE).dvi $(DESTDIR)$(dvidir)/$(PACKAGE).dvi
+-	$(INSTALL_DATA) $(srcdir)/$(PACKAGE)_*.html $(DESTDIR)$(htmldir)
+-	$(INSTALL_DATA) $(srcdir)/$(PACKAGE).dvi $(DESTDIR)$(dvidir)/$(PACKAGE).dvi
++	install-info $(DESTDIR)$(infodir)/$(PACKAGE).info $(DESTDIR)$(infodir)/dir
  
+ installdirs : force
+ 	$(MKDIR) $(DESTDIR)$(datadir)
diff -urN /usr/ports/math/cln/pkg-plist math/cln/pkg-plist
--- /usr/ports/math/cln/pkg-plist	Fri Oct  5 20:18:43 2001
+++ math/cln/pkg-plist	Wed Jul 31 01:26:45 2002
@@ -1,8 +1,4 @@
 bin/cln-config
-share/aclocal/cln.m4
-@unexec install-info --delete %D/info/cln.info %D/info/dir
-info/cln.info
-@exec install-info %D/info/cln.info %D/info/dir
 include/cln/GV.h
 include/cln/GV_complex.h
 include/cln/GV_integer.h
@@ -81,26 +77,35 @@
 include/cln/univpoly_rational.h
 include/cln/univpoly_real.h
 include/cln/version.h
-@dirrm include/cln
+@unexec install-info --delete %D/info/cln.info %D/info/dir
+info/cln.info
+@exec install-info %D/info/cln.info %D/info/dir
 lib/libcln.a
-lib/libcln.la
 lib/libcln.so
 lib/libcln.so.2
-share/cln/html/cln_1.html
-share/cln/html/cln_10.html
-share/cln/html/cln_11.html
-share/cln/html/cln_12.html
-share/cln/html/cln_13.html
-share/cln/html/cln_2.html
-share/cln/html/cln_3.html
-share/cln/html/cln_4.html
-share/cln/html/cln_5.html
-share/cln/html/cln_6.html
-share/cln/html/cln_7.html
-share/cln/html/cln_8.html
-share/cln/html/cln_9.html
-share/cln/html/cln_toc.html
-share/cln/dvi/cln.dvi
-@dirrm share/cln/html
-@dirrm share/cln/dvi
-@dirrm share/cln
+share/aclocal/cln.m4
+%%PORTDOCS%%share/doc/cln/dvi/cln.dvi
+%%PORTDOCS%%share/doc/cln/html/cln.html
+%%PORTDOCS%%share/doc/cln/html/cln_1.html
+%%PORTDOCS%%share/doc/cln/html/cln_10.html
+%%PORTDOCS%%share/doc/cln/html/cln_11.html
+%%PORTDOCS%%share/doc/cln/html/cln_12.html
+%%PORTDOCS%%share/doc/cln/html/cln_13.html
+%%PORTDOCS%%share/doc/cln/html/cln_14.html
+%%PORTDOCS%%share/doc/cln/html/cln_15.html
+%%PORTDOCS%%share/doc/cln/html/cln_16.html
+%%PORTDOCS%%share/doc/cln/html/cln_2.html
+%%PORTDOCS%%share/doc/cln/html/cln_3.html
+%%PORTDOCS%%share/doc/cln/html/cln_4.html
+%%PORTDOCS%%share/doc/cln/html/cln_5.html
+%%PORTDOCS%%share/doc/cln/html/cln_6.html
+%%PORTDOCS%%share/doc/cln/html/cln_7.html
+%%PORTDOCS%%share/doc/cln/html/cln_8.html
+%%PORTDOCS%%share/doc/cln/html/cln_9.html
+%%PORTDOCS%%share/doc/cln/html/cln_abt.html
+%%PORTDOCS%%share/doc/cln/html/cln_ovr.html
+%%PORTDOCS%%share/doc/cln/html/cln_toc.html
+%%PORTDOCS%%@dirrm share/doc/cln/html
+%%PORTDOCS%%@dirrm share/doc/cln/dvi
+%%PORTDOCS%%@dirrm share/doc/cln
+@dirrm include/cln

>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?200207302013.g6UKDJ2p049540>