Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Apr 2001 15:50:02 -0700 (PDT)
From:      Anders Nordby <anders@fix.no>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/26545: Fix port: mail/drac
Message-ID:  <200104132250.f3DMo2Y18184@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/26545; it has been noted by GNATS.

From: Anders Nordby <anders@fix.no>
To: FreeBSD-gnats-submit@freebsd.org
Cc:  
Subject: Re: ports/26545: Fix port: mail/drac
Date: Sat, 14 Apr 2001 00:43:16 +0200

 Umm, forget that patch. Sorry. Use this instead, as rpcgen -b in -stable
 generates new errors. The updated patch can also be downloaded from
 http://anders.fix.no/ports/archives/drac.diffs.2.
 
 diff -Nur drac.old/Makefile drac/Makefile
 --- drac.old/Makefile	Fri Feb  9 21:32:36 2001
 +++ drac/Makefile	Fri Apr 13 23:24:58 2001
 @@ -21,8 +21,14 @@
  MAN3=		dracauth.3
  MAN1=		rpc.dracd.1
  
 +.include <bsd.port.pre.mk>
 +
  post-patch:
  	@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/rpc.dracd.1m
 +.if ${OSVERSION} >= 500018
 +	@${PERL} -pi -e "s|^RPCGENFLAGS.*|RPCGENFLAGS = -C -b|g" \
 +		${WRKSRC}/Makefile
 +.endif
  	@${ECHO} "================================================================================"
  	@${ECHO} "Use make -DWITH_POSTFIX or -DWITH_EXIM with this port for databases compatible"
  	@${ECHO} "with those MTAs."
 @@ -37,4 +43,4 @@
  	@${INSTALL_MAN} ${WRKSRC}/rpc.dracd.1m ${PREFIX}/man/man1/rpc.dracd.1
  .endif
  
 -.include <bsd.port.mk>
 +.include <bsd.port.post.mk>
 diff -Nur drac.old/pkg-descr drac/pkg-descr
 --- drac.old/pkg-descr	Fri Feb  9 21:32:37 2001
 +++ drac/pkg-descr	Fri Apr 13 22:14:50 2001
 @@ -9,3 +9,5 @@
  The POP and SMTP servers can be on different hosts.
  
  WWW: http://mail.cc.umanitoba.ca/drac/
 +
 +- Anders Nordby <anders@fix.no>
 
 -- 
 Anders.

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?200104132250.f3DMo2Y18184>