From az@inec.ru  Tue Aug  9 07:47:44 2005
Return-Path: <az@inec.ru>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 9A45F16A41F
	for <freebsd-gnats-submit@freebsd.org>; Tue,  9 Aug 2005 07:47:44 +0000 (GMT)
	(envelope-from az@inec.ru)
Received: from waterwall.inec.ru (waterwall.inec.ru [213.148.3.225])
	by mx1.FreeBSD.org (Postfix) with ESMTP id DBA0643D46
	for <freebsd-gnats-submit@freebsd.org>; Tue,  9 Aug 2005 07:47:43 +0000 (GMT)
	(envelope-from az@inec.ru)
Received: from waterwall.inec.ru (root@localhost)
  by waterwall.inec.ru (8.13.1/8.12.6) with SMTP id j797n7MC046900
    for <freebsd-gnats-submit@freebsd.org>; Tue, 9 Aug 2005 11:49:07 +0400 (MSD)
Received: from az.inec.ru (msproxyoutif.intermediate.org [10.0.0.2])
  by waterwall.inec.ru (8.13.1/8.12.6) with ESMTP id j797n6Nr046893
    for <FreeBSD-gnats-submit@freebsd.org>; Tue, 9 Aug 2005 11:49:07 +0400 (MSD)
Received: from az by az.inec.ru with local (Exim 4.51 (FreeBSD))
	id 1E2Opz-000N9E-BY
	for FreeBSD-gnats-submit@freebsd.org; Tue, 09 Aug 2005 11:47:51 +0400
Message-Id: <E1E2Opz-000N9E-BY@az.inec.ru>
Date: Tue, 09 Aug 2005 11:47:51 +0400
From: Andrej Zverev <az@inec.ru>
Reply-To: Andrej Zverev <az@inec.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [update] cad/admesh - use PLIST and respect CFLAGS
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         84690
>Category:       ports
>Synopsis:       [update] cad/admesh - use PLIST and respect CFLAGS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    sem
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 09 07:50:14 GMT 2005
>Closed-Date:    Fri Sep 02 13:28:51 GMT 2005
>Last-Modified:  Fri Sep 02 13:28:51 GMT 2005
>Originator:     Andrej Zverev
>Release:        FreeBSD 5.4-RELEASE-p1 i386
>Organization:
>Environment:
System: FreeBSD az.inec.ru 5.4-RELEASE-p1 FreeBSD 5.4-RELEASE-p1 #2: Wed Jul 6 12:10:32 MSD 2005 root@az.inec.ru:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
	Removed files:
	pkg-plist - removed
	
>How-To-Repeat:
	
>Fix:

	

--- admesh.diff begins here ---
diff -Nru admesh.orig/Makefile admesh/Makefile
--- admesh.orig/Makefile	Tue Feb  3 01:44:16 2004
+++ admesh/Makefile	Mon Aug  8 16:33:05 2005
@@ -14,6 +14,10 @@
 COMMENT=	Program for processing STL triangulated solid meshes
 
 GNU_CONFIGURE=	yes
+MAKE_ARGS=	CFLAGS="${CFLAGS}"
+
+PLIST_FILES=	bin/admesh %%PORTDOCS%%%%DOCSDIR%%/admesh.doc
+PLIST_DIRS=	%%PORTDOCS%%%%DOCSDIR%%
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/admesh ${PREFIX}/bin/
diff -Nru admesh.orig/pkg-plist admesh/pkg-plist
--- admesh.orig/pkg-plist	Fri Oct 10 09:16:19 2003
+++ admesh/pkg-plist	Thu Jan  1 03:00:00 1970
@@ -1,3 +0,0 @@
-bin/admesh
-%%PORTDOCS%%%%DOCSDIR%%/admesh.doc
-@dirrm %%PORTDOCS%%%%DOCSDIR%%
--- admesh.diff ends here ---



>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->sem 
Responsible-Changed-By: sem 
Responsible-Changed-When: Thu Aug 18 19:53:21 GMT 2005 
Responsible-Changed-Why:  
Take it 

http://www.freebsd.org/cgi/query-pr.cgi?pr=84690 

From: Sergey Matveychuk <sem@FreeBSD.org>
To: bug-followup@FreeBSD.org,  az@inec.ru
Cc:  
Subject: Re: ports/84690: [update] cad/admesh - use PLIST and respect CFLAGS
Date: Fri, 02 Sep 2005 17:16:18 +0400

 Could you explore this issue on 4.11 please?
 admesh.c:117: warning: (near initialization for `long_options[27]')
 admesh.c:117: warning: excess elements in struct initializer
 admesh.c:117: warning: (near initialization for `long_options[27]')
 admesh.c:88: array size missing in `long_options'
 admesh.c:88: storage size of `long_options' isn't known
 admesh.c:138: `optarg' undeclared (first use in this function)
 admesh.c:247: `optind' undeclared (first use in this function)
 admesh.c:32: warning: return type of `main' is not `int'
 *** Error code 1
 
 Stop in /work/a/ports/cad/admesh/work/admesh-0.95.
 *** Error code 1
 
 Stop in /a/ports/cad/admesh.
 
 -- 
 Sem.

From: Sergey Matveychuk <sem@FreeBSD.org>
To: bug-followup@FreeBSD.org,  az@inec.ru
Cc:  
Subject: Re: ports/84690: [update] cad/admesh - use PLIST and respect CFLAGS
Date: Fri, 02 Sep 2005 17:17:01 +0400

 Could you explore this issue on 4.11 please?
 admesh.c:117: warning: (near initialization for `long_options[27]')
 admesh.c:117: warning: excess elements in struct initializer
 admesh.c:117: warning: (near initialization for `long_options[27]')
 admesh.c:88: array size missing in `long_options'
 admesh.c:88: storage size of `long_options' isn't known
 admesh.c:138: `optarg' undeclared (first use in this function)
 admesh.c:247: `optind' undeclared (first use in this function)
 admesh.c:32: warning: return type of `main' is not `int'
 *** Error code 1
 
 Stop in /work/a/ports/cad/admesh/work/admesh-0.95.
 *** Error code 1
 
 Stop in /a/ports/cad/admesh.
 
 -- 
 Sem.

From: Sergey Matveychuk <sem@core.inec.ru>
To: bug-followup@FreeBSD.org,  az@inec.ru
Cc:  
Subject: Re: ports/84690: [update] cad/admesh - use PLIST and respect CFLAGS
Date: Fri, 02 Sep 2005 17:17:31 +0400

 Could you explore this issue on 4.11 please?
 admesh.c:117: warning: (near initialization for `long_options[27]')
 admesh.c:117: warning: excess elements in struct initializer
 admesh.c:117: warning: (near initialization for `long_options[27]')
 admesh.c:88: array size missing in `long_options'
 admesh.c:88: storage size of `long_options' isn't known
 admesh.c:138: `optarg' undeclared (first use in this function)
 admesh.c:247: `optind' undeclared (first use in this function)
 admesh.c:32: warning: return type of `main' is not `int'
 *** Error code 1
 
 Stop in /work/a/ports/cad/admesh/work/admesh-0.95.
 *** Error code 1
 
 Stop in /a/ports/cad/admesh.
State-Changed-From-To: open->closed 
State-Changed-By: sem 
State-Changed-When: Fri Sep 2 13:28:44 GMT 2005 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=84690 
>Unformatted:
