From owner-freebsd-ports Tue Mar 30 16: 7: 8 1999 Delivered-To: freebsd-ports@freebsd.org Received: from picnic.mat.net (picnic.mat.net [206.246.122.133]) by hub.freebsd.org (Postfix) with ESMTP id A7A5E14CC1; Tue, 30 Mar 1999 16:06:55 -0800 (PST) (envelope-from chuckr@mat.net) Received: from localhost (chuckr@localhost) by picnic.mat.net (8.9.3/8.8.5) with ESMTP id TAA09106; Tue, 30 Mar 1999 19:05:09 -0500 (EST) Date: Tue, 30 Mar 1999 19:05:09 -0500 (EST) From: Chuck Robey To: Satoshi - the Wraith - Asami Cc: tom@eborcom.com, freebsd-ports@FreeBSD.ORG Subject: Re: Problems with p5-* ports In-Reply-To: <199903302330.PAA45505@silvia.hip.berkeley.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 30 Mar 1999, Satoshi - the Wraith - Asami wrote: > * From: Tom Hukins > > * I'd appreciate comments from the Ports Wraith on this. Is there any > * chance of something like this finding its way into bsd.port.mk? > > "Ports Wraith"? ;) You're the one who started the "Lord Of The Rings" motif, Satoshi ... I think you're port's "Bombadil" myself. D'you have a funny-looking hat, maybe with a feather in it? > > * +.if defined(PERL5_MODULE) > * +MAN3PREFIX?= ${PREFIX}/lib/perl5/${PERL_VERSION} > * +USE_PERL5= yes > * +.endif > * + > > Good. > > * +.if defined(PERL5_MODULE) > * + @(cd ${WRKSRC} && \ > * + ${SETENV} ${MAKE_ENV} ${PERL} Makefile.PL PREFIX=${PREFIX} \ > * + INSTALLMAN1DIR=${PREFIX}/man/man1 \ > * + INSTALLSCRIPT=${PREFIX}/bin) > * +.endif > > I'm not sure if this is good. I've seen many different combinations > of settings, and some USE_PERL5 ports don't even have this line. > > * .if make(real-extract) > * + @cd ${.CURDIR} && ${MAKE} ${.MAKEFLAGS} build-depends lib-depends perl5-depends misc-depends > * .if make(real-install) > * + @cd ${.CURDIR} && ${MAKE} ${.MAKEFLAGS} run-depends lib-depends perl5-depends > > Ok. > > * +perl5-depends: > * +.if defined(PERL5_DEPENDS) > * +.if !defined(NO_DEPENDS) > * + @for i in ${PERL5_DEPENDS}; do \ > * + lib=`${ECHO} $$i | ${SED} -e 's/\..*//' | ${SED} -e 's!/!::!g'`; \ > * + version=`${ECHO} $$i | ${SED} -e 's/[^\.]*\.//' | ${SED} -e 's/:.*//'`; \ > * + dir=`${ECHO} $$i | ${SED} -e 's/[^:]*://'`; \ > > Where's "target" defined? (Did you test this patch?) > > * + ${ECHO_MSG} "===> Verifying $$target for $$lib in $$dir"; \ > > I don't know perl jargon but the rest looks ok. > > -PW > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-ports" in the body of the message > ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@glue.umd.edu | communications topic, C programming, and Unix. 213 Lakeside Drive Apt T-1 | Greenbelt, MD 20770 | I run picnic (FreeBSD-current) (301) 220-2114 | and jaunt (Solaris7). ----------------------------+----------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message