ports/115404: comms/ltmdm remove references to FreeBSD 4.x

David Yeske dyeske at gmail.com
Fri Aug 10 22:20:02 UTC 2007


>Number:         115404
>Category:       ports
>Synopsis:       comms/ltmdm remove references to FreeBSD 4.x
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 10 22:20:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     David Yeske
>Release:        HEAD
>Organization:
>Environment:
FreeBSD speed 7.0-CURRENT FreeBSD 7.0-CURRENT #1: Wed Jul 18 23:40:39 EDT 2007     root at speed:/usr/obj/usr/src/sys/SPEED  amd64

>Description:
1. remove references to FreeBSD 4.x
2. don't quote RESTRICTED
>How-To-Repeat:

>Fix:
see attachment

Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/comms/ltmdm/Makefile,v
retrieving revision 1.32
diff -u -r1.32 Makefile
--- Makefile	4 Aug 2007 11:40:43 -0000	1.32
+++ Makefile	10 Aug 2007 20:45:09 -0000
@@ -22,7 +22,7 @@
 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,7 @@
 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:
@@ -74,18 +66,6 @@
 .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>


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list