From owner-freebsd-ports Sat Jun 24 9:35:13 2000 Delivered-To: freebsd-ports@freebsd.org Received: from primex.prontel.net (primex.prontel.net [216.242.25.10]) by hub.freebsd.org (Postfix) with ESMTP id 7FF5437BC19 for ; Sat, 24 Jun 2000 09:35:04 -0700 (PDT) (envelope-from netadmin@primex.prontel.net) Received: from workstation9 (mazpe@dsl-216-227-86-169.telocity.com [216.227.86.169]) by primex.prontel.net (8.9.3/8.9.3) with SMTP id MAA60898 for ; Sat, 24 Jun 2000 12:35:49 -0400 (EDT) (envelope-from netadmin@primex.prontel.net) Message-ID: <001901bfddf9$8c69c380$a956e3d8@workstation9> From: "Lester A. Mesa" To: Subject: problems creating a port Date: Sat, 24 Jun 2000 12:30:44 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4029.2901 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4029.2901 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I have encouter several problems creating a port. For the port to work i need to add a user and a group. I did this by using the following: pre-configure: pw groupadd group; \ pw useradd username -d /home/username -m -g group -s /bin/sh -h fd this will add my group and then my username, but if by any chance the username or group are already the pw program will exit "pw: group name `group' already exists". So i put a -q to ingnore the error, it works fine from the command line but when i try to run it from my Makefile i get the following: ===> Configuring for myport pw groupadd group -q; pw useradd username -d /home/username -m -g group -s /bin/sh -h fd *** Error code 65 Stop. *** Error code 1 Stop. *** Error code 1 Stop. *** Error code 1 Stop. Any ideas on how can i ignore the pw group already exists error? Also if i add the username/group by hand my make, will work fine without a problem at all. But when i do make install, it installs everything fine, but also it will install some folders/files that never even came with the package. /home/username/etc/rc.d /home/username/info /home/username/lib/perl5 /home/username/libexec /home/username/man/cat* man* /home/username/sbin /home/username/share/dict examples doc emacs examples misc nls skel If only do a make and i go inside the work/myprogram and i do a make install-strip (as the README recommends) it will install everything fine, but without the extra folders my port is installing. is there anyways to avoid this folder/files from installing in a port? Thank you all.. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message