Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jan 2003 13:56:08 +0800 (WST)
From:      "Thomas E. Zander" <riggs@hadiko.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/47532: Maintainer-update of cad/linux-eagle
Message-ID:  <200301270556.h0R5u8q2014766@trillian.mugiri.au>

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

>Number:         47532
>Category:       ports
>Synopsis:       Maintainer-update of cad/linux-eagle
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 26 22:00:21 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Thomas E. Zander
>Release:        FreeBSD 5.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD trillian.mugiri.au 5.0-RELEASE FreeBSD 5.0-RELEASE #0: Wed Jan 22 23:19:13 WST 2003 root@trillian.mugiri.au:/usr/obj/usr/src/sys/TRILLIAN i386


	
>Description:
	Some people have file ownership problems then building as user
	is possible.
>How-To-Repeat:
	exec 'make' as user, 'make install' as root
>Fix:

diff -ruN linux-eagle-old/Makefile linux-eagle/Makefile
--- linux-eagle-old/Makefile	Fri Oct 18 21:23:45 2002
+++ linux-eagle/Makefile	Mon Jan 27 13:36:46 2003
@@ -2,7 +2,7 @@
 # Date created:				29 December 2001
 # Whom:					Maxim Sobolev <sobomax@FreeBSD.org>
 #
-# $FreeBSD: ports/cad/linux-eagle/Makefile,v 1.7 2002/09/19 15:14:33 obraun Exp $
+# $FreeBSD$
 #
 
 PORTNAME=	linux-eagle
@@ -31,11 +31,13 @@
 
 MAN1=		eagle.1
 
+CPIO?=		/usr/bin/cpio --quiet -pdum -R
+
 do-install:
-	${MKDIR} ${DATADIR}
-	${TAR} -C ${WRKSRC} -cf - . | ${TAR} -C ${DATADIR} --unlink -xf -
-	${LN} -sf ${DATADIR}/bin/eagle ${PREFIX}/bin/eagle
-	${INSTALL_MAN} ${DATADIR}/man/eagle.1 ${PREFIX}/man/man1
+	@${MKDIR} ${DATADIR}
+	@ cd ${WRKSRC} && ${FIND} * -type f -print | ${CPIO} ${BINOWN}:${BINGRP} ${DATADIR}
+	@${LN} -sf ${DATADIR}/bin/eagle ${PREFIX}/bin/eagle
+	@${INSTALL_MAN} ${DATADIR}/man/eagle.1 ${PREFIX}/man/man1
 
 post-install:
 	@${SED} -e "s:%%PREFIX%%:${PREFIX}:g" ${PKGDIR}/pkg-message > \
diff -ruN linux-eagle-old/pkg-plist linux-eagle/pkg-plist
--- linux-eagle-old/pkg-plist	Fri Oct 18 21:23:45 2002
+++ linux-eagle/pkg-plist	Mon Jan 27 13:43:24 2003
@@ -651,7 +651,6 @@
 share/eagle/ulp/unidat.ulp
 share/eagle/ulp/useful-routines.ulp
 share/eagle/ulp/warning.bmp
-share/eagle/uninstall
 @unexec rm -f %D/share/eagle/bin/eagle.key || true
 @dirrm share/eagle/ulp
 @dirrm share/eagle/scr
>Release-Note:
>Audit-Trail:
>Unformatted:

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




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