From owner-svn-ports-head@FreeBSD.ORG Sun Nov 3 16:46:22 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 02BB0B3F; Sun, 3 Nov 2013 16:46:22 +0000 (UTC) (envelope-from rene@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E4B7C2701; Sun, 3 Nov 2013 16:46:21 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rA3GkLT5049628; Sun, 3 Nov 2013 16:46:21 GMT (envelope-from rene@svn.freebsd.org) Received: (from rene@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rA3GkL2d049626; Sun, 3 Nov 2013 16:46:21 GMT (envelope-from rene@svn.freebsd.org) Message-Id: <201311031646.rA3GkL2d049626@svn.freebsd.org> From: Rene Ladan Date: Sun, 3 Nov 2013 16:46:21 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r332626 - head/emulators/rtc X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Nov 2013 16:46:22 -0000 Author: rene Date: Sun Nov 3 16:46:21 2013 New Revision: 332626 URL: http://svnweb.freebsd.org/changeset/ports/332626 Log: Convert to USES=kmod Modified: head/emulators/rtc/Makefile head/emulators/rtc/pkg-plist Modified: head/emulators/rtc/Makefile ============================================================================== --- head/emulators/rtc/Makefile Sun Nov 3 16:41:35 2013 (r332625) +++ head/emulators/rtc/Makefile Sun Nov 3 16:46:21 2013 (r332626) @@ -4,7 +4,7 @@ PORTNAME= rtc PORTVERSION= 2004.02.24.1 PORTREVISION= 8 -CATEGORIES= emulators linux kld +CATEGORIES= emulators linux MASTER_SITES= # none DISTFILES= # none @@ -13,7 +13,6 @@ COMMENT= Kernel module which provides /d WRKSRC= ${WRKDIR}/files -SSP_UNSAFE= kernel module does not support ssp NO_FETCH= yes USE_LINUX= yes # because of ${DEVDIR} @@ -28,13 +27,9 @@ PLIST_SUB= DEVDIR="${DEVDIR}" CDEV_MAJOR RTC_H_DIR="${RTC_H_DIR}" NO_STAGE= yes -.include - -SRC_BASE?= /usr/src -.if !exists(${SRC_BASE}/sys/Makefile) -IGNORE= needs kernel source files -.endif +USES= kmod +.include do-extract: @${MKDIR} ${WRKSRC} @@ -42,9 +37,6 @@ do-extract: ${FILESDIR}/${STARTUP} > ${WRKDIR}/${STARTUP} @cd ${FILESDIR} && ${CP} Makefile *.[ch] ${WRKSRC}/ -pre-install: - ${MKDIR} ${KMODDIR} - post-install: ${INSTALL_DATA} ${WRKSRC}/rtc.h ${PREFIX}/include/ ${MKDIR} ${PREFIX}/share/examples/rtc Modified: head/emulators/rtc/pkg-plist ============================================================================== --- head/emulators/rtc/pkg-plist Sun Nov 3 16:41:35 2013 (r332625) +++ head/emulators/rtc/pkg-plist Sun Nov 3 16:46:21 2013 (r332626) @@ -3,8 +3,5 @@ include/rtc.h modules/rtc.ko %%EXAMPLESDIR%%/test.c @exec rm -f %%DEVDIR%%/rtc -@exec /usr/sbin/kldxref %D/modules -@unexec /usr/sbin/kldxref %D/modules @dirrm %%EXAMPLESDIR%% -@dirrmtry modules @unexec rm -f /dev/rtc