From owner-freebsd-ports Mon Jan 14 10:30:26 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 1BAA537B417 for ; Mon, 14 Jan 2002 10:30:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g0EIU1h85780; Mon, 14 Jan 2002 10:30:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3A47137B416 for ; Mon, 14 Jan 2002 10:20:35 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g0EIKZT84402; Mon, 14 Jan 2002 10:20:35 -0800 (PST) (envelope-from nobody) Message-Id: <200201141820.g0EIKZT84402@freefall.freebsd.org> Date: Mon, 14 Jan 2002 10:20:35 -0800 (PST) From: KATO Tsuguru To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/33883: Update port: graphics/opendis Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 33883 >Category: ports >Synopsis: Update port: graphics/opendis >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: Mon Jan 14 10:30:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: 4.4-RELEASE i386 >Organization: >Environment: >Description: - Fix MASTER_SITES - Support CFLAGS properly - Remove unnecessary USE_AUTOCONF Remove file: files/patch-configure.in >How-To-Repeat: >Fix: diff -urN /usr/ports/graphics/opendis/Makefile graphics/opendis/Makefile --- /usr/ports/graphics/opendis/Makefile Tue Oct 9 19:01:03 2001 +++ graphics/opendis/Makefile Sun Jan 13 21:58:42 2002 @@ -7,24 +7,25 @@ PORTNAME= opendis PORTVERSION= 0.0.3 +PORTREVISION= 1 CATEGORIES= graphics -MASTER_SITES= http://ods.sourceforge.net/dl/ \ - ftp://ftp.nuug.no/pub/anders/distfiles/ +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ + http://ods.sourceforge.net/dl/ +MASTER_SITE_SUBDIR= ods MAINTAINER= ports@FreeBSD.org -USE_AUTOCONF= yes GNU_CONFIGURE= yes -CPPFLAGS+= -I${LOCALBASE}/include -CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" -DOCS= NEWS AUTHORS doc/ERRATA doc/PHILOSOPHY doc/THUMB +post-patch: + @${PERL} -pi -e 's|-pedantic -W|-pedantic|g' ${WRKSRC}/configure + @${PERL} -pi -e 's| -g| \@CFLAGS\@|g' ${WRKSRC}/src/Makefile.in -.if !defined(NOPORTDOCS) post-install: - @${INSTALL} -d -o root -g wheel -m 0755 ${PREFIX}/share/doc/${PORTNAME} -.for f in ${DOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/${PORTNAME}/ +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for file in NEWS AUTHORS doc/ERRATA doc/PHILOSOPHY doc/THUMB + ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} .endfor .endif diff -urN /usr/ports/graphics/opendis/files/patch-configure.in graphics/opendis/files/patch-configure.in --- /usr/ports/graphics/opendis/files/patch-configure.in Sat Jun 9 01:54:25 2001 +++ graphics/opendis/files/patch-configure.in Thu Jan 1 09:00:00 1970 @@ -1,11 +0,0 @@ ---- configure.in.old Tue May 22 13:16:35 2001 -+++ configure.in Tue May 22 13:16:58 2001 -@@ -10,7 +10,7 @@ - - if test "$GCC" = yes; then - dnl Add some extra flags when compiling with gcc. -- gcc_extra_cflags="-D_GNU_SOURCE -Wall -ansi -pedantic -W" -+ gcc_extra_cflags="-D_GNU_SOURCE -ansi -pedantic" - AC_SUBST(gcc_extra_cflags) - fi - >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message