diff options
author | edwin <edwin@FreeBSD.org> | 2007-09-24 00:34:33 +0000 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2007-09-24 00:34:33 +0000 |
commit | e8835f038d5687aa0339011c4d8597dbbd13aa38 (patch) | |
tree | cafa33bd6d305e3d1aa94459389ff1012c0d3ec5 | |
parent | 054cd686531bd87e68db159fbb396f5eb3f18d99 (diff) | |
download | FreeBSD-ports-e8835f038d5687aa0339011c4d8597dbbd13aa38.zip FreeBSD-ports-e8835f038d5687aa0339011c4d8597dbbd13aa38.tar.gz |
comms/ltmdm remove references to FreeBSD 4.x
1. remove references to FreeBSD 4.x
2. don't quote RESTRICTED
PR: ports/115404
Submitted by: David Yeske <dyeske@gmail.com>
Approved by: maintainer timeout
-rw-r--r-- | comms/ltmdm/Makefile | 26 | ||||
-rw-r--r-- | comms/ltmdm/pkg-plist | 17 |
2 files changed, 3 insertions, 40 deletions
diff --git a/comms/ltmdm/Makefile b/comms/ltmdm/Makefile index c1e87b3..650dfbf 100644 --- a/comms/ltmdm/Makefile +++ b/comms/ltmdm/Makefile @@ -22,7 +22,7 @@ BUILD_WRKSRC= ${WRKSRC}/sys/modules/ltmdm NO_WRKSUBDIR= yes SUB_FILES+= pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message -RESTRICTED= "Unknown license type for binary object file ltmdmobj.o" +RESTRICTED= Unknown license type for binary object file ltmdmobj.o LTMDM_DEV_MAJOR?= 228 LTMDM_OBJ_VERSION?= 600 @@ -39,15 +39,6 @@ STRIP= # do not strip kernel module PORTDOCS= README.TXT README-en.TXT INSTALL.TXT INSTALL-en.TXT SYSDIR?= ${SRC_BASE}/sys -.include <bsd.port.pre.mk> - -.if ${OSVERSION} < 500000 -MAJOR= ${LTMDM_DEV_MAJOR} -PLIST_SUB+= FREEBSD5="@comment " FREEBSD4="" -PLIST_SUB+= MAJOR=${MAJOR} -.else -PLIST_SUB+= FREEBSD5="" FREEBSD4="@comment " -.endif PLIST_SUB+= KMODDIR=${KMODDIR} pre-fetch: @@ -73,19 +64,6 @@ do-install: @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/ .endfor .endif - -.if ${OSVERSION} < 500000 - @${RM} -f ${DEVDIR}/cual0 ${DEVDIR}/cuail0 ${DEVDIR}/cuall0 - @umask 7 - @mknod ${DEVDIR}/cual0 c ${MAJOR} 128 uucp:dialer - @mknod ${DEVDIR}/cuail0 c ${MAJOR} 160 uucp:dialer - @mknod ${DEVDIR}/cuall0 c ${MAJOR} 192 uucp:dialer - @${RM} -f ${DEVDIR}/ttyl0 ${DEVDIR}/ttyil0 ${DEVDIR}/ttyll0 - @umask 77 - @mknod ${DEVDIR}/ttyl0 c ${MAJOR} 0 uucp:dialer - @mknod ${DEVDIR}/ttyil0 c ${MAJOR} 32 uucp:dialer - @mknod ${DEVDIR}/ttyll0 c ${MAJOR} 64 uucp:dialer -.endif @${CAT} ${PKGMESSAGE} -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/comms/ltmdm/pkg-plist b/comms/ltmdm/pkg-plist index 46a9c4c..a691912b 100644 --- a/comms/ltmdm/pkg-plist +++ b/comms/ltmdm/pkg-plist @@ -1,18 +1,3 @@ @cwd %%KMODDIR%% ltmdm.ko -%%FREEBSD5%%@unexec kldxref %D -%%FREEBSD4%%@cwd /dev -%%FREEBSD4%%@exec umask 7 -%%FREEBSD4%%@exec mknod /dev/cual0 c %%MAJOR%% 128 uucp:dialer -%%FREEBSD4%%@exec mknod /dev/cuail0 c %%MAJOR%% 160 uucp:dialer -%%FREEBSD4%%@exec mknod /dev/cuall0 c %%MAJOR%% 192 uucp:dialer -%%FREEBSD4%%@exec umask 77 -%%FREEBSD4%%@exec mknod /dev/ttyl0 c %%MAJOR%% 0 uucp:dialer -%%FREEBSD4%%@exec mknod /dev/ttyil0 c %%MAJOR%% 32 uucp:dialer -%%FREEBSD4%%@exec mknod /dev/ttyll0 c %%MAJOR%% 64 uucp:dialer -%%FREEBSD4%%@unexec rm -f /dev/cual0 -%%FREEBSD4%%@unexec rm -f /dev/cuail0 -%%FREEBSD4%%@unexec rm -f /dev/cuall0 -%%FREEBSD4%%@unexec rm -f /dev/ttyl0 -%%FREEBSD4%%@unexec rm -f /dev/ttyil0 -%%FREEBSD4%%@unexec rm -f /dev/ttyll0 +@unexec kldxref %D |