diff options
author | obache <obache> | 2009-01-14 11:27:34 +0000 |
---|---|---|
committer | obache <obache> | 2009-01-14 11:27:34 +0000 |
commit | eb82f3f13a473238422a76b08cf0b5c4ed4fbfcf (patch) | |
tree | 12f7462d12b4834588b276f3bba521e2bf1a8d6e /graphics | |
parent | 032a3594791ec4aa5018760d94474689b98ff589 (diff) | |
download | pkgsrc-eb82f3f13a473238422a76b08cf0b5c4ed4fbfcf.tar.gz |
Changes the path to put videodev.h. Fixes PR 40394.
And changes the path for such a purpose to ${BUILDLINK_DIR}/include.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/libv4l/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/graphics/libv4l/Makefile b/graphics/libv4l/Makefile index 44edacccb8f..261007ea00a 100644 --- a/graphics/libv4l/Makefile +++ b/graphics/libv4l/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2009/01/10 21:04:22 jmcneill Exp $ +# $NetBSD: Makefile,v 1.4 2009/01/14 11:27:34 obache Exp $ DISTNAME= libv4l-0.4.3 PKGREVISION= 2 @@ -20,15 +20,16 @@ PLIST.needs_videoio= yes INSTALLATION_DIRS+= include/sys pre-configure: - ${MKDIR} ${WRKSRC}/include/sys - cp ${FILESDIR}/videoio.h ${WRKSRC}/include/sys - cp ${FILESDIR}/videodev.h ${WRKSRC}/include/sys + ${MKDIR} ${BUILDLINK_DIR}/include/sys + cp ${FILESDIR}/videoio.h ${BUILDLINK_DIR}/include/sys + cp ${FILESDIR}/videodev.h ${BUILDLINK_DIR}/include post-install: ${INSTALL_DATA} ${FILESDIR}/videoio.h ${DESTDIR}${PREFIX}/include/sys .elif !exists(/usr/include/linux/videodev.h) pre-configure: - cp ${FILESDIR}/videodev.h ${WRKSRC}/include/videodev.h + ${MKDIR} ${BUILDLINK_DIR}/include + cp ${FILESDIR}/videodev.h ${BUILDLINK_DIR}/include/videodev.h .endif PLIST_VARS= needs_videoio |