summaryrefslogtreecommitdiff
path: root/graphics/libv4l
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2009-01-14 11:27:34 +0000
committerobache <obache@pkgsrc.org>2009-01-14 11:27:34 +0000
commit8de03eb83eb0a4b69048c16162ee33cdf2b9c57f (patch)
tree12f7462d12b4834588b276f3bba521e2bf1a8d6e /graphics/libv4l
parent3192c2ffa46accb913217386bce231c1c9a91796 (diff)
downloadpkgsrc-8de03eb83eb0a4b69048c16162ee33cdf2b9c57f.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/libv4l')
-rw-r--r--graphics/libv4l/Makefile11
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