diff options
author | Stefan Walter <stefan@FreeBSD.org> | 2013-05-02 20:59:47 +0000 |
---|---|---|
committer | Stefan Walter <stefan@FreeBSD.org> | 2013-05-02 20:59:47 +0000 |
commit | ab6441e871c66b153f1f8f425f6588f9daf9d7cf (patch) | |
tree | 38989796ee646ceff1d02babd291fe8bfed36d99 /audio | |
parent | - Update to 4.2.12 (diff) |
Respect additional environment variable ${SYSDIR}.
PR: 170405
Submitted by: Jan Beich <jbeich@tormail.org>
Notes
Notes:
svn path=/head/; revision=317148
Diffstat (limited to 'audio')
-rw-r--r-- | audio/oss/Makefile | 2 | ||||
-rw-r--r-- | audio/oss/files/patch-os_cmd-FreeBSD-.config | 7 |
2 files changed, 9 insertions, 0 deletions
diff --git a/audio/oss/Makefile b/audio/oss/Makefile index 92f4d19da5f2..e42224661ee5 100644 --- a/audio/oss/Makefile +++ b/audio/oss/Makefile @@ -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: diff --git a/audio/oss/files/patch-os_cmd-FreeBSD-.config b/audio/oss/files/patch-os_cmd-FreeBSD-.config new file mode 100644 index 000000000000..bf76b057b6ac --- /dev/null +++ b/audio/oss/files/patch-os_cmd-FreeBSD-.config @@ -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} |