Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Sep 2000 13:31:44 -0700 (PDT)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/21366: Update port: comms/mserver
Message-ID:  <20000918203144.3E7B737B423@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         21366
>Category:       ports
>Synopsis:       Update port: comms/mserver
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 18 13:40:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.1-RELEASE i386
>Organization:
>Environment:
>Description:
- Support CC/CFLAGS properly
- Support NOPORTDOCS

Remove file:
patches/patch-aa

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/comms/mserver/Makefile comms/mserver/Makefile
--- /usr/ports/comms/mserver/Makefile	Fri May 19 19:11:10 2000
+++ comms/mserver/Makefile	Wed Aug 30 20:11:18 2000
@@ -12,13 +12,17 @@
 
 MAINTAINER=	sobomax@FreeBSD.org
 
+MAKE_ARGS=	CC="${CC}" CCOPTS="${CFLAGS}"
+
 do-install:
-	${MKDIR} ${PREFIX}/share/doc/mserver
 	${INSTALL_PROGRAM} ${WRKSRC}/mserver ${PREFIX}/sbin
 	${INSTALL_PROGRAM} ${WRKSRC}/tcpconn ${PREFIX}/sbin
 	${INSTALL_DATA} ${WRKSRC}/mserver.conf ${PREFIX}/etc/mserver.conf.default
 	${INSTALL_SCRIPT} ${WRKSRC}/mserver.sh.sample ${PREFIX}/etc/rc.d/mserver.sh.sample
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${PREFIX}/share/doc/mserver
 	${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/mserver
 	${INSTALL_MAN} ${WRKSRC}/README.tcpconn ${PREFIX}/share/doc/mserver
+.endif
 
 .include <bsd.port.mk>
diff -urN /usr/ports/comms/mserver/patches/patch-aa comms/mserver/patches/patch-aa
--- /usr/ports/comms/mserver/patches/patch-aa	Thu Jul  8 14:11:38 1999
+++ comms/mserver/patches/patch-aa	Thu Jan  1 09:00:00 1970
@@ -1,30 +0,0 @@
-diff -ruN mserver-0.23a.orig/Makefile mserver-0.23a/Makefile
---- Makefile.orig	Thu Jan 15 21:12:33 1998
-+++ Makefile	Fri May 21 11:10:30 1999
-@@ -1,8 +1,7 @@
- #
- # Makefile for mserver
- #
--CC	= gcc
--CCOPTS	= -O2
-+CC	= cc
- LIBS	= 
- 
- INCLUDES	= config.h stty.h
-@@ -16,13 +15,13 @@
- 		$(CC) tcpconn.o stty.o -o tcpconn $(LIBS)
- 
- mserver.o:	mserver.c $(INCLUDES)
--		$(CC) $(CCOPTS) -c -o mserver.o mserver.c
-+		$(CC) $(CFLAGS) -c -o mserver.o mserver.c
- 
- tcpconn.o:	tcpconn.c $(INCLUDES)
--		$(CC) $(CCOPTS) -c -o tcpconn.o tcpconn.c
-+		$(CC) $(CFLAGS) -c -o tcpconn.o tcpconn.c
- 
- stty.o:		stty.c $(INCLUDES)
--		$(CC) $(CCOPTS) -c -o stty.o stty.c
-+		$(CC) $(CFLAGS) -c -o stty.o stty.c
- 
- clean:
- 		rm -f mserver tcpconn *.o core


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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000918203144.3E7B737B423>