Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jan 2002 10:20:35 -0800 (PST)
From:      KATO Tsuguru <tkato@prontomail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/33883: Update port: graphics/opendis   
Message-ID:  <200201141820.g0EIKZT84402@freefall.freebsd.org>

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

>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




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