Bug 28177 - installation of www/analog port always overwrites analog.cfg
Summary: installation of www/analog port always overwrites analog.cfg
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: Michael Haro
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-06-15 15:50 UTC by SANETO Takanori
Modified: 2001-08-29 00:23 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (403 bytes, patch)
2001-06-15 15:50 UTC, SANETO Takanori
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description SANETO Takanori 2001-06-15 15:50:01 UTC
When installing analog from ports, existing /usr/local/etc/analog.cfg is overwritten.
In Makefie, existence of $PREFIX/etc/analog.cfg is checked, but it does not work as expected,
because $PREFIX is not defined until <bsd.port.mk> is included.

Fix: Following patch fixes the problem.
How-To-Repeat: 
1. Make sure you have /usr/local/etc/analog.cfg
2. cd /usr/ports/www/analog; make install
3. see /usr/local/etc/analog.cfg is overwritten.
Comment 1 dwcjr freebsd_committer freebsd_triage 2001-06-17 07:25:27 UTC
Responsible Changed
From-To: freebsd-ports->mharo

Over to maintainer
Comment 2 Michael Haro freebsd_committer freebsd_triage 2001-08-29 00:22:54 UTC
State Changed
From-To: open->closed

Committed, thanks!