Date: Sun, 3 Nov 2013 16:46:21 +0000 (UTC) From: Rene Ladan <rene@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r332626 - head/emulators/rtc Message-ID: <201311031646.rA3GkL2d049626@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.pre.mk> - -SRC_BASE?= /usr/src -.if !exists(${SRC_BASE}/sys/Makefile) -IGNORE= needs kernel source files -.endif +USES= kmod +.include <bsd.port.pre.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311031646.rA3GkL2d049626>