ports/160954: [maintainer] www/p5-RT-Extension-LDAPImport -- drop rt36, add rt40

Matthew Seaman m.seaman at infracaninophile.co.uk
Mon Sep 26 21:40:09 UTC 2011


The following reply was made to PR ports/160954; it has been noted by GNATS.

From: Matthew Seaman <m.seaman at infracaninophile.co.uk>
To: FreeBSD-gnats-submit at FreeBSD.org
Cc:  
Subject: Re: ports/160954: [maintainer] www/p5-RT-Extension-LDAPImport --
 drop rt36, add rt40
Date: Mon, 26 Sep 2011 22:36:17 +0100

 Updated patch accounting for dougb@'s commits today
 
 Index: Makefile
 ===================================================================
 RCS file: /home/ncvs/ports/www/p5-RT-Extension-LDAPImport/Makefile,v
 retrieving revision 1.11
 diff -u -u -r1.11 Makefile
 --- Makefile	26 Sep 2011 20:01:01 -0000	1.11
 +++ Makefile	26 Sep 2011 21:07:22 -0000
 @@ -19,17 +19,27 @@
  
  BUILD_DEPENDS=	${SITE_PERL}/Net/LDAP.pm:${PORTSDIR}/net/p5-perl-ldap \
  		${SITE_PERL}/Class/Accessor.pm:${PORTSDIR}/devel/p5-Class-Accessor
 -RUN_DEPENDS=	${BUILD_DEPENDS}
 +RUN_DEPENDS:=	${BUILD_DEPENDS}
  
  PERL_CONFIGURE=	yes
  
 -RTHOME?=	share/rt38
 -RT_PM_DIR=	${SITE_PERL}
 -BUILD_DEPENDS+=	${RT_PM_DIR}/RT.pm:${PORTSDIR}/www/rt38
 +OPTIONS=	RT38 "Install for rt-3.8.x (default rt-4.0.x)" off
 +
 +.include <bsd.port.options.mk>
 +
 +.if defined(WITH_RT38)
 +RT_VER=		38
 +.else
 +RT_VER=		40
 +.endif
 +
 +BUILD_DEPENDS+=	${SITE_PERL}/RT.pm:${PORTSDIR}/www/rt${RT_VER}
 +RUN_DEPENDS+=	${SITE_PERL}/RT.pm:${PORTSDIR}/www/rt${RT_VER}
 +
  MAN3PREFIX=	${PREFIX}
  
  MAN3=		RT::Extension::LDAPImport.3
 -PLIST_SUB+=	RTHOME=${RTHOME}
 +PLIST_SUB+=	RTHOME=share/rt${RT_VER}
  
  # Note: You can install using an arbitrary $PREFIX but only if it
  # matches the $PREFIX used to install www/rt3{6,8}.  Hence ignore
 @@ -37,7 +47,7 @@
  do-configure:
  	@cd ${CONFIGURE_WRKSRC} && \
  	    unset PREFIX && \
 -	    ${SETENV} ${CONFIGURE_ENV} ${PERL5} -I${RT_PM_DIR} ./${CONFIGURE_SCRIPT} && \
 +	    ${SETENV} ${CONFIGURE_ENV} ${PERL5} -I${SITE_PERL} ./${CONFIGURE_SCRIPT} && \
  	    ${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile
  
  .include <bsd.port.mk>
 
 -- 
 Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                   Flat 3
 PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
 JID: matthew at infracaninophile.co.uk               Kent, CT11 9PW


More information about the freebsd-perl mailing list