ports/87835: master_site of port net/ncp out of date, net/ncp update

Matthias Teege matthias at mteege.de
Sat Oct 22 09:40:14 UTC 2005


>Number:         87835
>Category:       ports
>Synopsis:       master_site of port net/ncp out of date, net/ncp update
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 22 09:40:13 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Teege
>Release:        FreeBSD 4.11-STABLE i386
>Organization:
>Environment:
System: FreeBSD mut.mteege.de 4.11-STABLE FreeBSD 4.11-STABLE #0: Sat May 21 12:04:05 CEST 2005 root at mut.mteege.de:/usr/obj/usr/src/sys/MUT i386

>Description:
	fix problems with port net/ncp
>How-To-Repeat:
	cd /usr/ports/net/ncp
	make install clean
	
	the MASTER_SITE is out of date
	
>Fix:

	

--- ncp.diff begins here ---
diff -uNr ncp/Makefile ncp.new/Makefile
--- ncp/Makefile	Sat Apr 17 18:42:23 2004
+++ ncp.new/Makefile	Sat Oct 22 11:18:48 2005
@@ -5,25 +5,32 @@
 # $FreeBSD: ports/net/ncp/Makefile,v 1.2 2004/04/06 13:38:16 krion Exp $
 
 PORTNAME=	ncp
-PORTVERSION=	1.2.3
+PORTVERSION=	1.2.4
 CATEGORIES=	net
-MASTER_SITES=	ftp://ftp.fu-berlin.de/unix/network/ncp/
+MASTER_SITES=	http://dl.fefe.de/ http://dl.mteege.de/fefe/
 
 MAINTAINER=	matthias at mteege.de
 COMMENT=	"A fast file copy tool for LANs."
 
+BUILD_DEPENDS=	${LOCALBASE}/lib/libowfat.a:${PORTSDIR}/devel/libowfat
+
 MAN1=		ncp.1 npush.1
 MANCOMPRESSED=	no
 
-WRKSRC=		${WRKDIR}/${PORTNAME}
+WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 USE_BZIP2=	yes
 USE_REINPLACE=	yes
 
-post-patch:
-	@${REINPLACE_CMD} -e 's|gcc -O2|${CC} ${CFLAGS}|' \
-		${WRKSRC}/conf-cc
-	@${REINPLACE_CMD} -e 's|gcc|${CC} ${LDFLAGS}|' \
-		${WRKSRC}/conf-ld
+CFLAGS+=	-I${LOCALBASE}/include/libowfat -I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib
+
+post-extract:
+	@${REINPLACE_CMD} -e 's|^CC=gcc|CC=${CC}|' \
+		${WRKSRC}/Makefile
+	@${REINPLACE_CMD} -e 's|^CFLAGS=.*|CFLAGS=${CFLAGS}|' \
+		${WRKSRC}/Makefile
+	@${REINPLACE_CMD} -e 's|^LDFLAGS=.*|LDFLAGS=${LDFLAGS}|' \
+		${WRKSRC}/Makefile
 
 do-install:
 	cd ${WRKSRC}; ${INSTALL_PROGRAM} ncp ${PREFIX}/bin
diff -uNr ncp/distinfo ncp.new/distinfo
--- ncp/distinfo	Sat Apr 17 18:42:23 2004
+++ ncp.new/distinfo	Sat Oct 22 11:20:06 2005
@@ -1,2 +1,2 @@
-MD5 (ncp-1.2.3.tar.bz2) = 4486819b63f2493d788f4a516d660b74
-SIZE (ncp-1.2.3.tar.bz2) = 30864
+MD5 (ncp-1.2.4.tar.bz2) = 421c4855bd3148b7d0a4342942b4bf13
+SIZE (ncp-1.2.4.tar.bz2) = 6172
--- ncp.diff ends here ---


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



More information about the freebsd-ports-bugs mailing list