ports/121053: [patch] emulators/lib765: Add libdsk support (as well as disk image support to emulators/fuse)
Sven Klose
pixel at hugbox.org
Sun Feb 24 13:10:03 UTC 2008
>Number: 121053
>Category: ports
>Synopsis: [patch] emulators/lib765: Add libdsk support (as well as disk image support to emulators/fuse)
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sun Feb 24 13:10:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Sven Klose
>Release: 6.3-RELEASE
>Organization:
>Environment:
>Description:
This is required to compile emulators/fuse when libdsk should also be installed.
Also enables emulators/fuse to handle disk images.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
--- Makefile.old 2007-12-14 18:04:56.000000000 +0100
+++ Makefile 2008-02-24 13:17:34.000000000 +0100
@@ -22,4 +22,15 @@
cd ${WRKSRC} && ${INSTALL_DATA} ChangeLog doc/765.txt ${DOCSDIR}
.endif
-.include <bsd.port.mk>
+OPTIONS= LIBDSK "With LIBDSK support (recommended)" on
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_LIBDSK)
+CONFIGURE_ARGS+=--with-libdsk --with-libdsk-path=${LOCALBASE}
+LIB_DEPENDS+=dsk.5:${PORTSDIR}/emulators/libdsk
+.else
+CONFIGURE_ARGS+=--without-libdsk
+.endif
+
+.include <bsd.port.post.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list