Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jan 2004 00:15:07 +0900
From:      KATO Tsuguru <tkato@prontomail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/61950: Update port: astro/libnova
Message-ID:  <20040127001507.46d25b6d.tkato@prontomail.com>
Resent-Message-ID: <200401261520.i0QFKFCE006896@freefall.freebsd.org>

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

>Number:         61950
>Category:       ports
>Synopsis:       Update port: astro/libnova
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 26 07:20:15 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.9-RELEASE-p1 i386
>Organization:
>Environment:
>Description:
- Support CFLAGS properly

Remove file:
files/patch-configure

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/astro/libnova/Makefile astro/libnova/Makefile
--- /usr/ports/astro/libnova/Makefile	Mon Jan 26 13:32:21 2004
+++ astro/libnova/Makefile	Mon Jan 26 22:21:16 2004
@@ -8,6 +8,7 @@
 
 PORTNAME=	libnova
 PORTVERSION=	0.9.0
+PORTREVISION=	1
 CATEGORIES=	astro
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -15,8 +16,12 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Astronomical Calculation Library
 
+USE_GNOME=	gnometarget lthack
+USE_REINPLACE=	yes
 USE_LIBTOOL=	yes
-CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 INSTALLS_SHLIB=	yes
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|^CFLAGS=|#CFLAGS=|g' ${WRKSRC}/configure
 
 .include <bsd.port.mk>
diff -urN /usr/ports/astro/libnova/files/patch-configure astro/libnova/files/patch-configure
--- /usr/ports/astro/libnova/files/patch-configure	Wed Oct 23 17:48:20 2002
+++ astro/libnova/files/patch-configure	Thu Jan  1 09:00:00 1970
@@ -1,10 +0,0 @@
---- configure.orig	Wed Oct 23 16:35:47 2002
-+++ configure	Wed Oct 23 16:36:13 2002
-@@ -6163,6 +6163,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'
>Release-Note:
>Audit-Trail:
>Unformatted:



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