From jbeich@tormail.org  Mon Aug  6 06:39:00 2012
Return-Path: <jbeich@tormail.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id EC794106566C
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  6 Aug 2012 06:39:00 +0000 (UTC)
	(envelope-from jbeich@tormail.org)
Received: from server4.allsitecontrol.com (server4.allsitecontrol.com [198.136.50.18])
	by mx1.freebsd.org (Postfix) with ESMTP id AF50F8FC0A
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  6 Aug 2012 06:39:00 +0000 (UTC)
Received: from tor18.anonymizer.ccc.de ([31.172.30.1]:51443 helo=internal.tormail.org)
	by server4.allsitecontrol.com with esmtpsa (TLSv1:RC4-SHA:128)
	(Exim 4.77)
	(envelope-from <jbeich@tormail.org>)
	id 1SyGxr-001Ae1-89
	for FreeBSD-gnats-submit@freebsd.org; Mon, 06 Aug 2012 02:38:57 -0400
Received: from jbeich by internal.tormail.org with local (Exim 4.63)
	(envelope-from <jbeich@tormail.org>)
	id 1SyGw1-0003Fn-UR
	for FreeBSD-gnats-submit@freebsd.org; Mon, 06 Aug 2012 06:37:03 +0000
Message-Id: <1SyGw1-0003Fn-UR@internal.tormail.org>
Date: Mon, 06 Aug 2012 06:37:19 +0000
From: Jan Beich <jbeich@tormail.org>
To: FreeBSD-gnats-submit@freebsd.org
Subject: [patch] audio/oss: respect SYSDIR/SRC_BASE

>Number:         170405
>Category:       ports
>Synopsis:       [patch] audio/oss: respect SYSDIR/SRC_BASE
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    stefan
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 06 06:40:01 UTC 2012
>Closed-Date:    Sun May 05 09:58:04 UTC 2013
>Last-Modified:  Sun May 05 09:58:04 UTC 2013
>Originator:     Jan Beich
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
SRC_BASE=/foo
SYSDIR=/foo/sys
>Description:
>How-To-Repeat:
$ make
[...]
ossdetect.c:25:10: fatal error: 'dev/pci/pcireg.h' file not found
#include <dev/pci/pcireg.h>
         ^
1 error generated.
>Fix:
--- current.diff begins here ---
Index: audio/oss/files/patch-os_cmd-FreeBSD-.config
===================================================================
--- audio/oss/files/patch-os_cmd-FreeBSD-.config	(revision 0)
+++ audio/oss/files/patch-os_cmd-FreeBSD-.config	(working copy)
@@ -0,0 +1,7 @@
+--- os_cmd/FreeBSD/.config~
++++ os_cmd/FreeBSD/.config
+@@ -1,3 +1,3 @@
+ targetos=FreeBSD
+ mode=sbin
+-cflags=-I/sys
++cflags=-I${SYSDIR}
Index: audio/oss/Makefile
===================================================================
--- audio/oss/Makefile	(revision 301674)
+++ audio/oss/Makefile	(working copy)
@@ -71,6 +71,8 @@ CONFIGURE_ENV+=	OGG_SUPPORT=YES
 
 .if !exists(${SRC_BASE}/sys/Makefile)
 IGNORE=		requires kernel source to be installed
+.elif !defined(SYSDIR)
+MAKE_ENV+=	SYSDIR="${SRC_BASE}/sys"
 .endif
 
 pre-patch:
--- current.diff ends here ---
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->jkim 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Aug 6 06:40:11 UTC 2012 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=170405 
Responsible-Changed-From-To: jkim->freebsd-ports-bugs 
Responsible-Changed-By: jkim 
Responsible-Changed-When: Tue Mar 19 18:59:18 UTC 2013 
Responsible-Changed-Why:  
I do not maintain this port any more. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=170405 
Responsible-Changed-From-To: freebsd-ports-bugs->stefan 
Responsible-Changed-By: stefan 
Responsible-Changed-When: Thu May 2 20:56:31 UTC 2013 
Responsible-Changed-Why:  
Track this while waiting for submitter's feedback. 

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

From: Stefan Walter <stefan@freebsd.org>
To: Jan Beich <jbeich@tormail.org>
Cc: GNATS <FreeBSD-gnats-submit@FreeBSD.org>
Subject: Re: ports/170405: [patch] audio/oss: respect SYSDIR/SRC_BASE
Date: Thu, 2 May 2013 22:56:09 +0200

 Hello Jan,
 
 unfortunately, there hasn't been any activity on your problem reports on
 audio/oss (see [1] and [2]) for quite a while, as Jung-uk Kim is no longer
 maintaining the port. Since you seem to have an interest in this port:
 Would you like to take over maintainership? (That might also speed up
 processing of future PRs.;-)
 
 Best regards,
 Stefan
 
 [1]: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/170405
 [2]: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/170406

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/170405: commit references a PR
Date: Thu,  2 May 2013 21:00:00 +0000 (UTC)

 Author: stefan
 Date: Thu May  2 20:59:47 2013
 New Revision: 317148
 URL: http://svnweb.freebsd.org/changeset/ports/317148
 
 Log:
   Respect additional environment variable ${SYSDIR}.
   
   PR:		170405
   Submitted by:	Jan Beich <jbeich@tormail.org>
 
 Added:
   head/audio/oss/files/patch-os_cmd-FreeBSD-.config   (contents, props changed)
 Modified:
   head/audio/oss/Makefile
 
 Modified: head/audio/oss/Makefile
 ==============================================================================
 --- head/audio/oss/Makefile	Thu May  2 20:54:04 2013	(r317147)
 +++ head/audio/oss/Makefile	Thu May  2 20:59:47 2013	(r317148)
 @@ -66,6 +66,8 @@ CONFIGURE_ENV+=	OGG_SUPPORT=YES
  
  .if !exists(${SRC_BASE}/sys/Makefile)
  IGNORE=		requires kernel source to be installed
 +.elif !defined(SYSDIR)
 +MAKE_ENV+=	SYSDIR="${SRC_BASE}/sys"
  .endif
  
  pre-patch:
 
 Added: head/audio/oss/files/patch-os_cmd-FreeBSD-.config
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/audio/oss/files/patch-os_cmd-FreeBSD-.config	Thu May  2 20:59:47 2013	(r317148)
 @@ -0,0 +1,7 @@
 +--- os_cmd/FreeBSD/.config~
 ++++ os_cmd/FreeBSD/.config
 +@@ -1,3 +1,3 @@
 + targetos=FreeBSD
 + mode=sbin
 +-cflags=-I/sys
 ++cflags=-I${SYSDIR}
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: stefan 
State-Changed-When: Sun May 5 09:57:41 UTC 2013 
State-Changed-Why:  
Committed, thanks! 

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