From 40c440e353a62cb45b63616009c526c19cbfadcd Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Tue, 24 May 2005 19:48:50 +0000 Subject: [PATCH] Make sure that bsd.port.pre.mk is included regardless of whether NOPORTDOCS is defined. Noticed by: Johan Pettersson Solution by: kris --- textproc/openfts/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/textproc/openfts/Makefile b/textproc/openfts/Makefile index a015c199578a..653a41cd0a85 100644 --- a/textproc/openfts/Makefile +++ b/textproc/openfts/Makefile @@ -26,16 +26,16 @@ MAN3= Search::OpenFTS.3 Search::OpenFTS::Base.3 \ Search::OpenFTS::Index.3 Search::OpenFTS::Morph::ISpell.3 \ Search::OpenFTS::Parser.3 +.include + .if !defined(NOPORTDOCS) PORTDOCS= Changes INSTALL README primer.html -.include - .if ${PERL_LEVEL} < 500600 RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg-13 .else RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg -.endif +.endif # ${PERL_LEVEL} < 500600 post-install: ${MKDIR} ${EXAMPLESDIR} @@ -45,7 +45,7 @@ post-install: ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." -.endif +.endif # defined(NOPORTDOCS) # Sample DB initialization. DBNAME?= openfts