Bug 170405 - [patch] audio/oss: respect SYSDIR/SRC_BASE
Summary: [patch] audio/oss: respect SYSDIR/SRC_BASE
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Stefan Walter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-06 07:40 UTC by Jan Beich
Modified: 2013-05-05 10:58 UTC (History)
0 users

See Also:


Attachments
current.diff (799 bytes, patch)
2012-08-06 07:40 UTC, Jan Beich
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer freebsd_triage 2012-08-06 07:40:01 UTC

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.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-08-06 07:40:11 UTC
Responsible Changed
From-To: freebsd-ports-bugs->jkim

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Jung-uk Kim freebsd_committer freebsd_triage 2013-03-19 18:59:18 UTC
Responsible Changed
From-To: jkim->freebsd-ports-bugs

I do not maintain this port any more.
Comment 3 Stefan Walter freebsd_committer freebsd_triage 2013-05-02 21:56:09 UTC
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
Comment 4 Stefan Walter freebsd_committer freebsd_triage 2013-05-02 21:56:31 UTC
Responsible Changed
From-To: freebsd-ports-bugs->stefan

Track this while waiting for submitter's feedback.
Comment 5 dfilter service freebsd_committer freebsd_triage 2013-05-02 22:00:00 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"
Comment 6 Stefan Walter freebsd_committer freebsd_triage 2013-05-05 10:57:41 UTC
State Changed
From-To: open->closed

Committed, thanks!