ports/75190: [ PORT FIX ] comms/lirc (fix libirman and devdir)
Lewis Thompson
purple at lewiz.net
Fri Dec 17 16:40:28 UTC 2004
>Number: 75190
>Category: ports
>Synopsis: [ PORT FIX ] comms/lirc (fix libirman and devdir)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Dec 17 16:40:27 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Lewis Thompson
>Release: FreeBSD 5.3-RELEASE i386
>Organization:
>Environment:
System: FreeBSD black.fajita.org 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Mon Nov 8 18:05:07 GMT 2004 root at black.fajita.org:/usr/src/sys/i386/compile/BLACK i386
>Description:
1. comms/lirc build fails with WITH_IRMAN defined. It looks for
libirman.a in ${LOCALBASE} instead of ${LOCALBASE}/lib.
2. lircd tries to create a socket entires in /dev, instead
change this to /var/lirc, where it can succeed.
>How-To-Repeat:
<code/input/activities to reproduce the problem (multiple
lines)>
>Fix:
diff -ruN lirc.orig/Makefile lirc/Makefile
--- lirc.orig/Makefile Fri Dec 17 14:43:40 2004
+++ lirc/Makefile Fri Dec 17 15:10:35 2004
@@ -22,13 +22,13 @@
USE_REINPLACE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ARGS= --disable-manage-devices
+CONFIGURE_ARGS= --disable-manage-devices --with-devdir=/var/lirc
.include <bsd.port.pre.mk>
.if defined(WITH_IRMAN)
CONFIGURE_ARGS+= --with-driver=irman
-BUILD_DEPENDS= ${LOCALBASE}/libirman.a:${PORTSDIR}/comms/libirman
+BUILD_DEPENDS= ${LOCALBASE}/lib/libirman.a:${PORTSDIR}/comms/libirman
.if ${OSVERSION} >= 500041
# These are already included in the getopt_long case on < 50041
CPPFLAGS+= -I${LOCALBASE}/include
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list