Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Feb 2020 20:46:14 +0000 (UTC)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r526944 - in head/multimedia/ptx-kmod: . files
Message-ID:  <202002232046.01NKkEVM007929@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hrs
Date: Sun Feb 23 20:46:13 2020
New Revision: 526944
URL: https://svnweb.freebsd.org/changeset/ports/526944

Log:
  - Fix build on -current.
  - Fix PLIST when !DOCS.
  - Minor style cleanups.

Added:
  head/multimedia/ptx-kmod/files/patch-dev-ptx-ptx.h   (contents, props changed)
Modified:
  head/multimedia/ptx-kmod/Makefile

Modified: head/multimedia/ptx-kmod/Makefile
==============================================================================
--- head/multimedia/ptx-kmod/Makefile	Sun Feb 23 20:05:39 2020	(r526943)
+++ head/multimedia/ptx-kmod/Makefile	Sun Feb 23 20:46:13 2020	(r526944)
@@ -2,7 +2,7 @@
 
 PORTNAME=	ptx
 PORTVERSION=	0.0.20111212
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	multimedia
 MASTER_SITES=	LOCAL/hrs
 PKGNAMESUFFIX=	-kmod
@@ -14,20 +14,23 @@ COMMENT=	Device driver for PT1/PT2 ISDB-S/T tuner card
 LICENSE=	GPLv3
 
 ONLY_FOR_ARCHS=	amd64 i386
+
+USES=		kmod shebangfix
+SHEBANG_FILES=	tools/recptx.pl
+USE_RC_SUBR=	ptx
+
 BUILD_WRKSRC=	${WRKSRC}/dev/ptx
 PLIST_FILES=	${KMODDIR}/ptx.ko bin/recptx.pl
 SUB_LIST=	KMODDIR=${KMODDIR}
-USE_RC_SUBR=	ptx
 PORTDOCS=	README
 
 OPTIONS_DEFINE=	DOCS
 
-USES=		kmod shebangfix
-SHEBANG_FILES=	tools/recptx.pl
-
 do-install:
 	${INSTALL_KLD} ${BUILD_WRKSRC}/ptx.ko ${STAGEDIR}${KMODDIR}
 	${INSTALL_SCRIPT} ${WRKSRC}/tools/recptx.pl ${STAGEDIR}${PREFIX}/bin
+
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
 

Added: head/multimedia/ptx-kmod/files/patch-dev-ptx-ptx.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/ptx-kmod/files/patch-dev-ptx-ptx.h	Sun Feb 23 20:46:13 2020	(r526944)
@@ -0,0 +1,10 @@
+--- dev/ptx/ptx.h.orig	2011-12-13 19:19:39 UTC
++++ dev/ptx/ptx.h
+@@ -4,6 +4,7 @@
+ 
+ #include <sys/bus.h>
+ #include <sys/types.h>
++#include <sys/lock.h>
+ #include <sys/mutex.h>
+ #include <sys/module.h>
+ #include <sys/kernel.h>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202002232046.01NKkEVM007929>