Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Aug 2004 10:02:44 +0200
From:      Oliver Eikemeier <eikemeier@fillmore-labs.com>
To:        Rob B <robbyrnes@fastmail.com.au>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Trying to create a port - help needed
Message-ID:  <54603A18-E911-11D8-9C56-00039312D914@fillmore-labs.com>
In-Reply-To: <Xns953F9B968BF5Arbyrnesozemail@80.91.224.252>

next in thread | previous in thread | raw e-mail | index | archive | help

Am Sonntag den, 8. August 2004, um 07:17, schrieb Rob B:

> Hi,
>
> I'm trying to make a new port (first effort at this), and running the
> PREFIX test (make clean; make package PREFIX=/var/tmp/polipo), this is
> the failure :
>
> [...]
>
> This application has it's own Makefile, and the paths are set up thus:
>
> PREFIX = /usr/local
> BINDIR = $(PREFIX)/bin
> MANDIR = $(PREFIX)/man
> INFODIR = $(PREFIX)/info
> LOCAL_ROOT = /usr/share/polipo/www
> DISK_CACHE_ROOT = /var/cache/polipo
>
> Should I patch the Makefile to convert the $(PREFIX) variable into
> ${PREFIX} to get things working properly?


Since bsd.port.mk sets PREFIX in the environment, simply deleting the 
`PREFIX =' line might do the trick. You might also set MANDIR to 
MANPREFIX and patch LOCAL_ROOT / DISK_CACHE_ROOT to conform with hier(7).

-Oliver



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54603A18-E911-11D8-9C56-00039312D914>