From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Dec 29 17:10:02 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65345106566B for ; Tue, 29 Dec 2009 17:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 218EB8FC0A for ; Tue, 29 Dec 2009 17:10:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nBTHA1Z3078750 for ; Tue, 29 Dec 2009 17:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nBTHA1kB078749; Tue, 29 Dec 2009 17:10:01 GMT (envelope-from gnats) Resent-Date: Tue, 29 Dec 2009 17:10:01 GMT Resent-Message-Id: <200912291710.nBTHA1kB078749@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Matthew Seaman Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E8E60106568B for ; Tue, 29 Dec 2009 17:09:26 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 4A7218FC19 for ; Tue, 29 Dec 2009 17:09:26 +0000 (UTC) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id nBTH9MG5071806 for ; Tue, 29 Dec 2009 17:09:22 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.14.3/8.14.3/Submit) id nBTH9LeP071805; Tue, 29 Dec 2009 17:09:22 GMT (envelope-from matthew) Message-Id: <200912291709.nBTH9LeP071805@happy-idiot-talk.infracaninophile.co.uk> Date: Tue, 29 Dec 2009 17:09:22 GMT From: Matthew Seaman To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/142138: [maintainer] www/p5-RT-Extension-SLA -- bsd.port.options.mk etc X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthew Seaman List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Dec 2009 17:10:02 -0000 >Number: 142138 >Category: ports >Synopsis: [maintainer] www/p5-RT-Extension-SLA -- bsd.port.options.mk etc >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Dec 29 17:10:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Matthew Seaman >Release: FreeBSD 8.0-STABLE i386 >Organization: Infracaninophile >Environment: System: FreeBSD happy-idiot-talk.infracaninophile.co.uk 8.0-STABLE FreeBSD 8.0-STABLE #15: Thu Dec 24 09:23:16 GMT 2009 root@happy-idiot-talk.infracaninophile.co.uk:/usr/obj/usr/src/sys/HAPPY-IDIOT-TALK i386 >Description: * Switch to using bsd.port.options.mk * Track PREFIX settings from the parent www/rt38 or www/rt36 port: has to match, or it won't work. >How-To-Repeat: >Fix: --- p5-RT-Extension-SLA.diff begins here --- diff -Nur /usr/ports/www/p5-RT-Extension-SLA/Makefile p5-RT-Extension-SLA/Makefile --- /usr/ports/www/p5-RT-Extension-SLA/Makefile 2009-07-31 14:56:33.000000000 +0100 +++ p5-RT-Extension-SLA/Makefile 2009-12-29 16:42:49.000000000 +0000 @@ -18,27 +18,11 @@ BUILD_DEPENDS= ${SITE_PERL}/Business/Hours.pm:${PORTSDIR}/misc/p5-Business-Hours RUN_DEPENDS= ${BUILD_DEPENDS} -OPTIONS= RT36 "Install for rt-3.6.x (default rt-3.8.x)" off - PERL_CONFIGURE= yes -MAN3= RT::Action::SLA.3 \ - RT::Action::SLA_SetDefault.3 \ - RT::Action::SLA_SetDue.3 \ - RT::Action::SLA_SetStarts.3 \ - RT::Condition::SLA.3 \ - RT::Condition::SLA_RequireDefault.3 \ - RT::Condition::SLA_RequireDueSet.3 \ - RT::Condition::SLA_RequireStartsSet.3 \ - RT::Extension::SLA.3 \ - RT::Queue_SLA.3 - -PLIST_SUB+= RTHOME=${RTHOME} - -SUB_LIST+= RTHOME=${RTHOME} -SUB_FILES+= pkg-message +OPTIONS= RT36 "Install for rt-3.6.x (default rt-3.8.x)" off -.include +.include .if defined(WITH_RT36) @@ -60,15 +44,31 @@ .endif -# Don't use normal CONFIGURE_ARGS. Disable doc_?????_indstall targets to -# suppress installing perllocal.pod. This duplicates code from bsd.perl.mk -# rather undesirably. +MAN3= RT::Action::SLA.3 \ + RT::Action::SLA_SetDefault.3 \ + RT::Action::SLA_SetDue.3 \ + RT::Action::SLA_SetStarts.3 \ + RT::Condition::SLA.3 \ + RT::Condition::SLA_RequireDefault.3 \ + RT::Condition::SLA_RequireDueSet.3 \ + RT::Condition::SLA_RequireStartsSet.3 \ + RT::Extension::SLA.3 \ + RT::Queue_SLA.3 + +PLIST_SUB+= RTHOME=${RTHOME} + +SUB_LIST+= RTHOME=${RTHOME} +SUB_FILES+= pkg-message + +# Note: You can install using an arbitrary $PREFIX but only if it +# matches the $PREFIX used to install www/rt3{6,8}. Hence ignore +# $PREFIX in the environment and inherit settings from RT.pm do-configure: @cd ${CONFIGURE_WRKSRC} && \ - ${SETENV} ${CONFIGURE_ENV} ${PERL5} -I${RT_PM_DIR} ./${CONFIGURE_SCRIPT} && \ + ${SETENV} -u PREFIX ${CONFIGURE_ENV} ${PERL5} -I${RT_PM_DIR} ./${CONFIGURE_SCRIPT} && \ ${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile post-install: ${CAT} ${PKGMESSAGE} -.include +.include --- p5-RT-Extension-SLA.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: