Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Feb 2008 13:02:34 GMT
From:      Sven Klose <pixel@hugbox.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/121053: [patch] emulators/lib765: Add libdsk support (as well as disk image support to emulators/fuse) 
Message-ID:  <200802241302.m1OD2Yp4040159@www.freebsd.org>
Resent-Message-ID: <200802241310.m1ODA3HN025601@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802241302.m1OD2Yp4040159>