aboutsummaryrefslogtreecommitdiff
path: root/audio/oss
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2012-06-25 20:51:35 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2012-06-25 20:51:35 +0000
commit48297dd179f2cdd3c602a088c0062ae2e9a65902 (patch)
tree0e41c67ada2e7f3dad62c59fe6cf8ae2e9cd372c /audio/oss
parenta9083cad288e9a74ba4f0577458f4d741b781dc5 (diff)
downloadports-48297dd179f2cdd3c602a088c0062ae2e9a65902.tar.gz
ports-48297dd179f2cdd3c602a088c0062ae2e9a65902.zip
Include bsd.port.pre.mk before SRC_BASE is referenced.
PR: ports/169212
Notes
Notes: svn path=/head/; revision=299965
Diffstat (limited to 'audio/oss')
-rw-r--r--audio/oss/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/audio/oss/Makefile b/audio/oss/Makefile
index 76a8b60bf148..f47e0e84ead4 100644
--- a/audio/oss/Makefile
+++ b/audio/oss/Makefile
@@ -55,10 +55,6 @@ PROTO_SBINDIR= ${PROTO_DIR}/usr/sbin
PROTO_MANDIR= ${PROTO_DIR}/usr/share/man
PROTO_OSSLIBDIR=${PROTO_DIR}${PREFIX}/lib/oss
-.if !exists(${SRC_BASE}/sys/Makefile)
-IGNORE= requires kernel source to be installed
-.endif
-
CONFIGURE_ENV= HOSTCC="${CC}"
OPTIONS_DEFINE= VORBIS
@@ -71,6 +67,12 @@ LIB_DEPENDS+= vorbisfile.6:${PORTSDIR}/audio/libvorbis
CONFIGURE_ENV+= OGG_SUPPORT=YES
.endif
+.include <bsd.port.pre.mk>
+
+.if !exists(${SRC_BASE}/sys/Makefile)
+IGNORE= requires kernel source to be installed
+.endif
+
pre-patch:
${FIND} ${PATCH_WRKSRC} -name '*.man' -or \
\( -name '*.[ch]' \! -name ossmkdep.c \) | \
@@ -125,4 +127,4 @@ do-install:
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>