From wahjava@gmail.com  Mon Apr 19 17:13:23 2010
Return-Path: <wahjava@gmail.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 9E068106566B
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 19 Apr 2010 17:13:23 +0000 (UTC)
	(envelope-from wahjava@gmail.com)
Received: from mail-ww0-f54.google.com (mail-ww0-f54.google.com [74.125.82.54])
	by mx1.freebsd.org (Postfix) with ESMTP id 32A568FC22
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 19 Apr 2010 17:13:22 +0000 (UTC)
Received: by wwa36 with SMTP id 36so3167287wwa.13
        for <FreeBSD-gnats-submit@freebsd.org>; Mon, 19 Apr 2010 10:13:22 -0700 (PDT)
Received: by 10.216.89.209 with SMTP id c59mr3503482wef.87.1271697201919;
        Mon, 19 Apr 2010 10:13:21 -0700 (PDT)
Received: from chateau.d.if ([122.161.224.71])
        by mx.google.com with ESMTPS id x1sm50113603wbx.19.2010.04.19.10.13.19
        (version=TLSv1/SSLv3 cipher=RC4-MD5);
        Mon, 19 Apr 2010 10:13:20 -0700 (PDT)
Received: by chateau.d.if (Postfix, from userid 1001)
	id 0ED7B50C2C; Mon, 19 Apr 2010 22:43:12 +0530 (IST)
Message-Id: <20100419171312.0ED7B50C2C@chateau.d.if>
Date: Mon, 19 Apr 2010 22:43:12 +0530 (IST)
From: Ashish SHUKLA <wahjava@gmail.com>
Reply-To: Ashish SHUKLA <wahjava@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Update Port: math/eukleides. Fixed a bug reported by QAT
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         145853
>Category:       ports
>Synopsis:       Update Port: math/eukleides. Fixed a bug reported by QAT
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    wen
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 19 17:20:00 UTC 2010
>Closed-Date:    Tue Apr 20 08:47:10 UTC 2010
>Last-Modified:  Tue Apr 20 08:50:03 UTC 2010
>Originator:     Ashish SHUKLA
>Release:        FreeBSD 8.0-RELEASE-p2 amd64
>Organization:
N/A
>Environment:
System: FreeBSD chateau.d.if 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #3: Tue Mar 2 01:06:00 IST 2010 root@chateau.d.if:/usr/obj/usr/src/sys/CHATEAU amd64


>Description:
QAT reported a packing issue in the port. The attached diff file fixes the issue.

The file "files/path-build_Makefile~" is accidentally sent by me. And therefore needs to be deleted.

Sorry for this carelessness.

Thanks
>How-To-Repeat:
>Fix:

diff -urN /usr/ports/math/eukleides/Makefile eukleides/Makefile
--- /usr/ports/math/eukleides/Makefile	2010-04-19 14:49:19.000000000 +0530
+++ eukleides/Makefile	2010-04-19 22:35:23.000000000 +0530
@@ -25,7 +25,6 @@
 USE_ICONV=	yes
 
 MAN1=		eukleides.1 euktoeps.1 euktopdf.1 euktopst.1 euktotex.1
-PORTEXAMPLES=	greenwich.euk sundial.euk vonkoch.euk
 
 .ifndef NOPORTDOCS
 BUILD_DEPENDS=	pdflatex:${PORTSDIR}/print/teTeX-base
@@ -33,6 +32,10 @@
 INFO=		eukleides
 .endif
 
+.ifndef NOPORTEXAMPLES
+PORTEXAMPLES=	greenwich.euk sundial.euk vonkoch.euk
+.endif
+
 post-patch:
 	${GREP} -lR "#!/bin/bash" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
 		's|#!/bin/bash|#!/bin/sh|g'
@@ -47,9 +50,14 @@
 	${REINPLACE_CMD} -e '/^install:/ s/install_doc//g' \
 		 -e '/^all:/ s/doc//g' ${WRKSRC}/Makefile
 .endif
+.ifdef NOPORTEXAMPLES
+	${REINPLACE_CMD} -e 's/install_exm$$//g' ${WRKSRC}/Makefile
+.endif
 
+.ifndef NOPORTEXAMPLES
 pre-install:
 	${MKDIR} ${EXAMPLESDIR}
+.endif
 
 post-install:
 	for i in euktoeps euktopdf euktotex; do \
diff -urN /usr/ports/math/eukleides/files/patch-build_Makefile~ eukleides/files/patch-build_Makefile~
--- /usr/ports/math/eukleides/files/patch-build_Makefile~	2010-04-19 14:49:19.000000000 +0530
+++ eukleides/files/patch-build_Makefile~	1970-01-01 05:30:00.000000000 +0530
@@ -1,20 +0,0 @@
-
-$FreeBSD: ports/math/eukleides/files/patch-build_Makefile~,v 1.1 2010/04/19 09:19:19 wen Exp $
-
---- build/Makefile.orig
-+++ build/Makefile
-@@ -12,12 +12,12 @@
- YACC = bison
- YFLAGS = -d
- CC = gcc
--IFLAGS = -I$(COMMON_DIR) -I$(MAIN_DIR) -I$(BUILD_DIR) 
-+IFLAGS = -I$(COMMON_DIR) -I$(MAIN_DIR) -I$(BUILD_DIR) "-I%%LOCALBASE%%/../include" "-I%%LOCALBASE%%/include"
- ifneq ($(strip $(LOCALES)),)
- MOFLAGS = -DMO_DIR=\"$(MO_DIR)\" 
- endif
- CFLAGS = -Wall -D__$(BINARY)__ $(IFLAGS) $(MOFLAGS)
--LDFLAGS = -lncurses -lreadline -lm
-+LDFLAGS = -lncurses -lreadline -lm "-L%%LOCALBASE%%/lib" -lintl
- VPATH = $(COMMON_DIR):$(MAIN_DIR):$(BUILD_DIR)
- 
- $(BINARY):

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->wen 
Responsible-Changed-By: wen 
Responsible-Changed-When: Tue Apr 20 00:37:36 UTC 2010 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=145853 
State-Changed-From-To: open->closed 
State-Changed-By: wen 
State-Changed-When: Tue Apr 20 08:47:09 UTC 2010 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/145853: commit references a PR
Date: Tue, 20 Apr 2010 08:46:00 +0000 (UTC)

 wen         2010-04-20 08:45:51 UTC
 
   FreeBSD ports repository
 
   Modified files:
     math/eukleides       Makefile 
   Removed files:
     math/eukleides/files patch-build_Makefile~ 
   Log:
   - Fix the build error reported bt QAT@
   
   PR:             ports/145853
   Submitted by:   Ashish SHUKLA <wahjava@gmail.com> (maintainer)
   
   Revision  Changes    Path
   1.20      +11 -1     ports/math/eukleides/Makefile
   1.2       +0 -20     ports/math/eukleides/files/patch-build_Makefile~ (dead)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
