From nobody@FreeBSD.org  Thu Nov 11 20:09:56 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 9DCD11065670
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 11 Nov 2010 20:09:56 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 8D7CE8FC17
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 11 Nov 2010 20:09:56 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id oABK9t5R092218
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 11 Nov 2010 20:09:56 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id oABK9tLB092211;
	Thu, 11 Nov 2010 20:09:55 GMT
	(envelope-from nobody)
Message-Id: <201011112009.oABK9tLB092211@www.freebsd.org>
Date: Thu, 11 Nov 2010 20:09:55 GMT
From: Toomas Aas <toomas@tarkvarastuudio.ee>
To: freebsd-gnats-submit@FreeBSD.org
Subject: graphics/mapserver fails to build with ming support
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         152144
>Category:       ports
>Synopsis:       graphics/mapserver fails to build with ming support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    wen
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 11 20:10:10 UTC 2010
>Closed-Date:    Fri Nov 12 02:10:53 UTC 2010
>Last-Modified:  Fri Nov 12 02:10:53 UTC 2010
>Originator:     Toomas Aas
>Release:        8.1-RELEASE
>Organization:
>Environment:
FreeBSD builder.tarkvarastuudio.ee 8.1-RELEASE-p1 FreeBSD 8.1-RELEASE-p1 #2: Mon Nov  1 22:31:58 EET 2010     toomas@builder.tarkvarastuudio.ee:/usr/obj/usr/src/sys/TVS8  amd64

>Description:
If MING support is turned on while configuring the graphics/mapserver port, build fails because ming header files cannot be found.
>How-To-Repeat:
cd /usr/ports/graphics/mapserver
make config
(turn on MING support)
make build
>Fix:
Add the attached file as files/patch-configure

Patch attached with submission follows:

--- ./configure.orig	2010-11-11 21:50:37.000000000 +0200
+++ ./configure	2010-11-11 21:50:53.000000000 +0200
@@ -11708,7 +11708,7 @@
 echo "${ECHO_T}yes, user supplied MING directory" >&6
   MING_ENABLED=-DUSE_MING_FLASH
   MING_LIB="-L$with_ming/lib -lming"
-  MING_INC="-I$with_ming/include"
+  MING_INC="-I$with_ming/include/ming"
 fi
 
 MING_ENABLED=$MING_ENABLED


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->wen 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Nov 11 20:10:15 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/152144: commit references a PR
Date: Fri, 12 Nov 2010 01:54:47 +0000 (UTC)

 wen         2010-11-12 01:54:43 UTC
 
   FreeBSD ports repository
 
   Modified files:
     graphics/mapserver   Makefile 
   Log:
   - Fix the build with ming support [1]
   - Add MyGIS option [2]
   
   PR:             ports/152144 [1]
                   ports/152147 [2]
   Submitted by:   Toomas Aas <toomas@tarkvarastuudio.ee>
   Approved by:    maintainer (myself)
   
   Revision  Changes    Path
   1.51      +14 -2     ports/graphics/mapserver/Makefile
 _______________________________________________
 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"
 
State-Changed-From-To: open->closed 
State-Changed-By: wen 
State-Changed-When: Fri Nov 12 02:10:52 UTC 2010 
State-Changed-Why:  
Committed. Thanks! 

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