Subject: pkg/16797: patch to add DRAC support to teapop
To: None <gnats-bugs@gnats.netbsd.org>
From: Charlie Allom <charlie@eatyourpets.com>
List: netbsd-bugs
Date: 05/14/2002 12:29:26
>Number: 16797
>Category: pkg
>Synopsis: addition of DRAC support for teapop
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon May 13 19:30:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:
>Release: NetBSD 1.5ZC
>Organization:
http://eatyourpets.com/
>Environment:
System: NetBSD vulcanised.adc.rmit.edu.au 1.5ZC NetBSD 1.5ZC (VULCANISED) #5: Sat May 11 18:46:47 EST 2002 yeled@vulcanised.adc.rmit.edu.au:/usr/src/current/src/sys/arch/macppc/compile/VULCANISED macppc
Architecture: powerpc
Machine: macppc
>Description:
DRAC support from pkgsrc
>How-To-Repeat:
use the -p option with teapop once this is installed
>Fix:
101 yeled@vulcanised[~]% diff -u /usr/src/pkgsrc/mail/teapop/Makefile /usr/src/pkgsrc/mail/teapop/Makefile.yeled
--- /usr/src/pkgsrc/mail/teapop/Makefile Tue May 14 12:17:17 2002
+++ /usr/src/pkgsrc/mail/teapop/Makefile.yeled Tue May 14 12:11:24 2002
@@ -35,6 +35,12 @@
LDFLAGS+= -L${LOCALBASE}/lib/mysql -Wl,-R${LOCALBASE}/lib/mysql
.endif
+.if defined(TEAPOP_WITH_DRAC)
+DEPENDS+= drac>=1.10:../drac
+CONFIGURE_ARGS+=--with-drac=${PREFIX}/lib
+CONFIGURE_ARGS+=--with-dracinc=${PREFIX}/include
+.endif
+
post-build:
${SED} ${FILES_SUBST_SED} ${FILESDIR}/teapop > ${WRKDIR}/teapop
ciao,
C.
--
charlie@eatyourpets.com
http://eatyourpets.com/yeled/pgp.txt
FC8B 8727 8E82 5242 358C 8FC0 AA26 43C2 14AA 7941
>Release-Note:
>Audit-Trail:
>Unformatted: