Bug 40800 - Nedit 5.3 portupgrade fails on -stable system
Summary: Nedit 5.3 portupgrade fails on -stable system
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Daniel Eischen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-20 05:10 UTC by spadger
Modified: 2002-08-21 16:38 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description spadger 2002-07-20 05:10:01 UTC
	
Port makes doesn't seem to propogate BINOWN/BINGRP/BINMODE down to
child makes...

This doesn't work here:

	--->  Installing the new version via the port
	===>  Installing for nedit-5.3
	===>   nedit-5.3 depends on shared library: Xm.2 - found
	===>   nedit-5.3 depends on shared library: X11.6 - found
	(cd source; make -f Makefile.freebsd install)
	install   -o  -g  -m  nedit /usr/X11R6/bin
	install: invalid file mode: nedit
	*** Error code 64

work/nedit-5.3/source/Makefile.common actually contains the install: spec, and it says:

install: nedit nc
    ${INSTALL} ${COPY} ${STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} nedit ${
PREFIX}/bin
    ${INSTALL} ${COPY} ${STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} nc ${PRE
FIX}/bin/nclient

It can be seen from the echoing of the Make-generated command that
${COPY}, ${BINOWN}, ${BINGRP} & ${BINMODE} aren't expanded.

Huh? It certainly looks like they're set in the output of 'make -d
A install' in the top-level of the ports directory:

	Global:PORTSDIR = /usr/ports
	Searching for bsd.own.mk...failed.
	Searching for bsd.own.mk...failed.
	Searching for bsd.own.mk.../usr/share/mk...here...returning /usr/share/mk/bsd.own.mk
	Global:BINOWN = root
	Global:BINGRP = wheel
	Global:BINMODE = 555
	Global:NOBINMODE = 444

Fix: 

Sorry, not a clue...
How-To-Repeat: 	
cvsup, make world
cd /usr/ports/editors/nedit && make install
Comment 1 Ying-Chieh Liao freebsd_committer freebsd_triage 2002-07-20 19:46:20 UTC
Responsible Changed
From-To: freebsd-ports->deischen

over to maintainer
Comment 2 Daniel Eischen freebsd_committer freebsd_triage 2002-08-21 16:38:17 UTC
State Changed
From-To: open->closed

Duplicate of 41687.