Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Nov 1998 19:50:01 -0800 (PST)
From:      Bill Fumerola <billf@chc-chimes.com>
To:        freebsd-ports@FreeBSD.ORG
Subject:   Re: ports/8803: Postgresql port fails while patching
Message-ID:  <199811230350.TAA13518@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/8803; it has been noted by GNATS.

From: Bill Fumerola <billf@chc-chimes.com>
To: girgen@partitur.se
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: ports/8803: Postgresql port fails while patching
Date: Sun, 22 Nov 1998 22:45:49 -0500 (EST)

 On Sun, 22 Nov 1998 girgen@partitur.se wrote:
 
 > Patch the template/freebsd and do a diff.
 > 
 > --- template/freebsd.orig       Fri Sep 18 07:00:49 1998
 > +++ template/freebsd    Mon Nov 23 00:38:59 1998
 > @@ -1,9 +1,9 @@
 >  AROPT:cq
 >  SHARED_LIB:-fpic -DPIC
 > -CFLAGS:-O2 -m486 -pipe
 > +CFLAGS:-pipe -O2
 >  SRCH_INC:
 >  SRCH_LIB:
 > -USE_LOCALE:no
 > +USE_LOCALE:yes
 >  DLSUFFIX:.so
 >  YFLAGS:-d
 >  YACC:bison -y
 
 If at all possible, this should be done through sed so it respects our
 ${CFLAGS}.
 
 ${MV} ${WRKSRC}/template/freebsd ${WRKSRC}/template/freebsd.pre_sed
 ${CAT} ${WRKSRC}/template/freebsd.pre_sed | \
 ${SED} -e 's#CFLAGS:-O2 -m486 -pipe#CFLAGS:${CFLAGS}#' \
 	-e 's#USE_LOCALE:no#USE_LOCALE:yes#' \
 >> ${WRKSRC}/template/freebsd
 
 off the top of my head as a post-patch would serve the purpose. you could
 do a sed + patch, but that may get confusing. The above snippet of
 makefile-ness is not tested or warrentied.
 	
 
 - bill fumerola - billf@chc-chimes.com - BF1560 - computer horizons corp -
 - ph:(800) 252-2421 - bfumerol@computerhorizons.com - billf@FreeBSD.org  -
 
 
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811230350.TAA13518>