Opened 21 years ago

Closed 21 years ago

Last modified 20 years ago

#626 closed defect (fixed)

--prefix is largely ignored

Reported by: ssen@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 1.0
Keywords: Cc:
Port:

Description

./configure --prefix=/opt/foo [shantonu@Shantonu-Sens-Computer]$ make install ===> making install in doc mkdir -p /private/etc/ports mkdir -p /opt/local cat prefix.mtree | mtree -U -d -e -p /opt/local > /dev/null ...

Why is it doing anything to /opt/local?

The purpose of this bug report is to fix autoconf and makefile usage such that --prefix is actually useful.

Change History (1)

comment:1 Changed 21 years ago by ssen@…

Resolution: fixed
Status: newclosed

I fixed this. If you use a --prefix, most infrastructure files, including the etc config files, will be put into the prefix. The exception is the Tcl bootstrap extensions. However, you can still relocate this with --with-tclpackage=/opt/foo/lib/dptcl, and setting TCLLIBPATH=/opt/foo/lib/dptcl

If no --prefix is used, it defaults to /opt/local, and /etc/ports

Note: See TracTickets for help on using tickets.