Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 May 2013 20:59:47 +0000 (UTC)
From:      Stefan Walter <stefan@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r317148 - in head/audio/oss: . files
Message-ID:  <201305022059.r42Kxl8W021703@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305022059.r42Kxl8W021703>