pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/libv4l Changes the path to put videodev.h. Fi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/20b5e6dfb2fd
branches:  trunk
changeset: 553081:20b5e6dfb2fd
user:      obache <obache%pkgsrc.org@localhost>
date:      Wed Jan 14 11:27:34 2009 +0000

description:
Changes the path to put videodev.h. Fixes PR 40394.
And changes the path for such a purpose to ${BUILDLINK_DIR}/include.

diffstat:

 graphics/libv4l/Makefile |  11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diffs (30 lines):

diff -r 2aec407e2363 -r 20b5e6dfb2fd graphics/libv4l/Makefile
--- a/graphics/libv4l/Makefile  Wed Jan 14 10:48:11 2009 +0000
+++ b/graphics/libv4l/Makefile  Wed Jan 14 11:27:34 2009 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index