cvs commit: ports/sysutils/pear-Log Makefile

Antônio Carlos Venâncio Júnior antonio at php.net
Tue Aug 31 12:20:51 PDT 2004


Adam,

Adam Weinberger wrote:
>>>(08.31.2004 @ 1457 PST): Antnio Carlos Venncio Jnior said, in 1.0K: <<
>>
>>People,
>>
>>Pav Lucistnik wrote:
>>
>>>V út, 31. 08. 2004 v 19:46, Oliver Eikemeier pí¹e:
>>>
>>>
>>>
>>>>>pav         2004-08-31 14:57:33 UTC
>>>>>
>>>>>FreeBSD ports repository
>>>>>
>>>>>Modified files:
>>>>>  sysutils/pear-Log    Makefile
>>>>>Log:
>>>>>- Make more customizable using OPTIONS
>>>>>
>>>>>PR:             ports/71053
>>>>>Submitted by:   maintainer
>>>>>
>>>>>Revision  Changes    Path
>>>>>1.21      +32 -1     ports/sysutils/pear-Log/Makefile
>>>>
>>>>This hardcodes LOCALBASE as /usr/local, besides ports should avoid 
>>>>variables beginning with an underscore, since they are often used as 
>>>>bsd.port.mk private variables.
>>>
>>>
>>>Yes, and I'm not very happy with it.
>>
>>	I've made this "hardcoding" because I can't get LOCALBASE prior to 
>>including bsd.port.pre.mk. And OPTIONS must come before bsd.port.pre.mk. 
>>Is that true?!
>>
>>>end of "Re: cvs commit: ports/sysutils/pear-Log Makefile" from Antnio Carlos Venncio Jnior <<
> 
> 
> You're probably safer using:
> LOCALBASE?= /usr/local
> instead of "_LOCALBASE=".

	Done.

> # Adam
> 
> 
> --
> Adam Weinberger
> adamw at magnesium.net || adamw at FreeBSD.org
> adamw at vectors.cx    ||   adamw at gnome.org
> http://www.vectors.cx
> 


-- 
Cya

Antônio
echo antonio php net | sed 's/ /@/;s/ /./g'
FreeBSD/OpenBSD | PHP/MySQL/Python | PGP Key ID 0x5BBEB073
"Can't buy what I want because its FREE!" - Pearl Jam
-------------- next part --------------
--- Makefile.old	Tue Aug 31 16:17:56 2004
+++ Makefile	Tue Aug 31 16:18:03 2004
@@ -33,7 +33,7 @@
 LATEST_LINK=	pear-Log
 OPTIONS=	PEAR_DB "PEAR::DB support" off
 
-_LOCALBASE=	/usr/local
+LOCALBASE?=	/usr/local
 
 .if exists(${_LOCALBASE}/etc/php.conf)
 .include "${_LOCALBASE}/etc/php.conf"


More information about the cvs-ports mailing list