mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
Change from $SRCPREFIX to $SRC_BASE to be in accordance with new
standard usage. Approved by: maintainer
This commit is contained in:
parent
2cde2eb6e3
commit
e2c24bd94b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=266465
@ -18,7 +18,6 @@ COMMENT= A FreeBSD Driver for Aureal Vortex based soundcards
|
||||
NO_PACKAGE= Should be in sync with the kernel to work correctly
|
||||
|
||||
ONLY_FOR_ARCHS= i386
|
||||
SRCPREFIX?= /usr/src
|
||||
STRAYFILES= au88x0.h au88x0.c asp10.o asp20.o asp30.o
|
||||
DISTREVISION= 4
|
||||
|
||||
@ -43,22 +42,22 @@ BROKEN= doesn't build on RELENG_8
|
||||
.endif
|
||||
|
||||
# Make sure kernel sources are present before going any further
|
||||
.if ! exists(${SRCPREFIX}/sys/dev/sound/pcm/sound.c)
|
||||
.if ! exists(${SRC_BASE}/sys/dev/sound/pcm/sound.c)
|
||||
IGNORE= you need to extract kernel source tree before building this package
|
||||
.endif
|
||||
|
||||
pre-everything::
|
||||
.for STRAY in ${STRAYFILES}
|
||||
.if exists(${SRCPREFIX}/sys/dev/sound/pci/${STRAY})
|
||||
.if exists(${SRC_BASE}/sys/dev/sound/pci/${STRAY})
|
||||
@${ECHO}
|
||||
@${ECHO} "You have stray code in your tree. Make sure you"
|
||||
@${ECHO} "do not have any of the following:"
|
||||
@${ECHO}
|
||||
@${ECHO} "${SRCPREFIX}/sys/dev/sound/pci/au88x0.c"
|
||||
@${ECHO} "${SRCPREFIX}/sys/dev/sound/pci/au88x0.h"
|
||||
@${ECHO} "${SRCPREFIX}/sys/dev/sound/pci/asp10.o"
|
||||
@${ECHO} "${SRCPREFIX}/sys/dev/sound/pci/asp20.o"
|
||||
@${ECHO} "${SRCPREFIX}/sys/dev/sound/pci/asp30.o"
|
||||
@${ECHO} "${SRC_BASE}/sys/dev/sound/pci/au88x0.c"
|
||||
@${ECHO} "${SRC_BASE}/sys/dev/sound/pci/au88x0.h"
|
||||
@${ECHO} "${SRC_BASE}/sys/dev/sound/pci/asp10.o"
|
||||
@${ECHO} "${SRC_BASE}/sys/dev/sound/pci/asp20.o"
|
||||
@${ECHO} "${SRC_BASE}/sys/dev/sound/pci/asp30.o"
|
||||
@${ECHO}
|
||||
@${FALSE}
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user