diff options
author | rene <rene@FreeBSD.org> | 2013-11-04 00:46:21 +0800 |
---|---|---|
committer | rene <rene@FreeBSD.org> | 2013-11-04 00:46:21 +0800 |
commit | b5b3b9885691832bab1b52ff8909f870b566fd7f (patch) | |
tree | edf51b10229697af429bef2b8f16b7402af22974 /emulators/rtc | |
parent | 59105f0eb4d0fa961deb42277c583b6bfab9e39d (diff) | |
download | freebsd-ports-gnome-b5b3b9885691832bab1b52ff8909f870b566fd7f.tar.gz freebsd-ports-gnome-b5b3b9885691832bab1b52ff8909f870b566fd7f.tar.zst freebsd-ports-gnome-b5b3b9885691832bab1b52ff8909f870b566fd7f.zip |
Convert to USES=kmod
Diffstat (limited to 'emulators/rtc')
-rw-r--r-- | emulators/rtc/Makefile | 14 | ||||
-rw-r--r-- | emulators/rtc/pkg-plist | 3 |
2 files changed, 3 insertions, 14 deletions
diff --git a/emulators/rtc/Makefile b/emulators/rtc/Makefile index bf9c2d4ed830..3025a50fa032 100644 --- a/emulators/rtc/Makefile +++ b/emulators/rtc/Makefile @@ -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 /dev/rtc device support 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="${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 diff --git a/emulators/rtc/pkg-plist b/emulators/rtc/pkg-plist index 976c0201bf48..26d45c9fd62f 100644 --- a/emulators/rtc/pkg-plist +++ b/emulators/rtc/pkg-plist @@ -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 |