svn commit: r317148 - in head/audio/oss: . files
Stefan Walter
stefan at FreeBSD.org
Thu May 2 20:59:48 UTC 2013
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 at 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}
More information about the svn-ports-all
mailing list