Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jun 2005 13:14:55 +0200 (CEST)
From:      Thomas Vogt <thomas@bsdunix.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        obrien@FreeBSD.org
Subject:   ports/82110: [patch] raidutil does not work properly with WITHOUT_X11 knob
Message-ID:  <200506101114.j5ABEtkC075561@bert.mlan.solnet.ch>
Resent-Message-ID: <200506101120.j5ABK9hq007327@freefall.freebsd.org>

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

>Number:         82110
>Category:       ports
>Synopsis:       [patch] raidutil does not work properly with WITHOUT_X11 knob
>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 Jun 10 11:20:09 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Thomas Vogt
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD bert.mlan.solnet.ch 5.4-STABLE FreeBSD 5.4-STABLE #1: Wed Jun 8 02:21:23 CEST 2005 root@bert.mlan.solnet.ch:/usr/obj/usr/src/sys/MASTERONE53 i386

>Description:
	WITHOUT_X11 knob does not install all necessary files
        If you start raidutil you will get an: "Engine connect failed: Open"

>How-To-Repeat:
	Install raidutil with WHITOUT_X11 and run raidutil -L all
>Fix:


--- Makefile.orig	Fri Jun 10 10:46:15 2005
+++ Makefile	Fri Jun 10 12:54:25 2005
@@ -20,10 +20,10 @@
 ONLY_FOR_ARCHS=	i386
 
 NO_WRKSUBDIR=	yes
-BINS=		raidutil
+BINS=		raidutil dpteng dptcom dptsig
 .ifndef (WITHOUT_X11)
 USE_XLIB=	yes
-BINS+=		dptcom dpteng dptscom dptsig dptmgr
+BINS+=		dptscom dptmgr
 .endif
 
 .if !defined(WITHOUT_X11) && !exists(${X11BASE}/lib/libXm.so.1)
@@ -64,8 +64,10 @@
 do-install:
 	${MKDIR} ${PREFIX}/dpt
 	cd ${WRKSRC} ; ${INSTALL_PROGRAM} ${BINS} ${PREFIX}/dpt ; \
-		${INSTALL_DATA} read.me ${PREFIX}/dpt
-	${LN} -sf ${PREFIX}/dpt/${BINS} ${PREFIX}/bin
+		${INSTALL_DATA} read.me dptcom.chk ${PREFIX}/dpt
+.for bin in ${BINS}
+	${LN} -sf ${PREFIX}/dpt/${bin} ${PREFIX}/bin
+.endfor
 .endif
 
 .include <bsd.port.post.mk>



--- pkg-plist.orig	Fri Jun 10 12:55:19 2005
+++ pkg-plist	Fri Jun 10 12:55:26 2005
@@ -1,21 +1,21 @@
 @comment $FreeBSD: ports/sysutils/asr-utils/pkg-plist,v 1.3 2005/06/07 09:12:44 erwin Exp $
-%%X11%%bin/dptcom
-%%X11%%bin/dpteng
 %%X11%%bin/dptmgr
 %%X11%%bin/dptscom
-%%X11%%bin/dptsig
 bin/raidutil
-%%X11%%dpt/dptcom
-%%X11%%dpt/dptcom.chk
-%%X11%%dpt/dpteng
+bin/dpteng
+bin/dptcom
+bin/dptsig
 %%X11%%dpt/dptmgr
 %%X11%%dpt/dptmgr.hlp
 %%X11%%dpt/dptmgr.ini
 %%X11%%dpt/dptmgr.rsc
 %%X11%%dpt/dptscom
-%%X11%%dpt/dptsig
 dpt/raidutil
 dpt/read.me
+dpt/dpteng
+dpt/dptcom
+dpt/dptcom.chk
+dpt/dptsig
 %%LIBXM%%@cwd %%X11BASE%%
 %%LIBXM%%lib/libXm.so.1
 @dirrm dpt
>Release-Note:
>Audit-Trail:
>Unformatted:



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