From owner-freebsd-ports Sat Feb 5 9:47:25 2000 Delivered-To: freebsd-ports@freebsd.org Received: from file.phys.tohoku.ac.jp (file.phys.tohoku.ac.jp [130.34.117.125]) by builder.freebsd.org (Postfix) with SMTP id 9CFE945E0 for ; Sat, 5 Feb 2000 09:47:17 -0800 (PST) Received: (qmail 6895 invoked by uid 239); 5 Feb 2000 17:47:41 -0000 Message-ID: <20000205174741.6894.qmail@file.phys.tohoku.ac.jp> Date: Sun, 06 Feb 2000 02:47:41 +0900 From: suzukis@file.phys.tohoku.ac.jp To: freebsd-ports@FreeBSD.ORG In-reply-to: Issei Suzuki 's message of Sun, 06 Feb 2000 01:40:43 +0900<20000206014043K.issei@issei.org> Subject: Re: How to develop a port/package without root previlege? Mime-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Mailer: addmail [version 2.0.12] Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Set ${DESTDIR}, and all files are installed to >the subdirectory of ${DESTDIR}. Thanks, but it's not what I'm asking for, because it's to make a package from "correctly-port"ed softwares without bothering other directories. Also ${BINOWN} and ${BINGRP} should be corrected to avoid the requests of root previlege. By the way, could you let me know an example of "correctly-port"ed software? I want to refer its Makefile. >Note: > Some ports ignore ${DESTDIR}, and these should be fixed. Sounds important. They are some? I'm afraid many... Talking my experience... the port for bison-1.27. Its own Makefile (created via configure) supports ${prefix} and ${DESTDIR}, in fact, when typing "gmake install prefix=`pwd`/tmp" under /usr/ports/devel/bison/work/bison-1.27, gmake does not try install into /usr/local. But typing "make package DESTDIR=`pwd`/tmp" at /usr/ports/devel/bison, pmake tries to install bison into /usr/local. Setting ${DESTDIR} in /usr/ports/devel/bison, the result is same behaviour. I'm wondering why ports can be worse than original Makefile...? Most "ports" developer works with root previlege, and does not care? # If my system is already violated and # the behaviour I found was its result, # I'm sorry for bothering you. suzuki To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message