Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Sep 2002 17:44:02 +1000 (EST)
From:      Edwin Groothuis <edwin@mavetju.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/43235: [patch] remove extra file from x11-toolkits/Xaw3d
Message-ID:  <20020922074402.E72206A7124@k7.mavetju>

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

>Number:         43235
>Category:       ports
>Synopsis:       [patch] remove extra file from x11-toolkits/Xaw3d
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 22 00:50:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Edwin Groothuis
>Release:        FreeBSD 4.5-RELEASE i386
>Organization:
-
>Environment:
System: FreeBSD k7.mavetju 4.5-RELEASE FreeBSD 4.5-RELEASE #4: Sat Sep 14 10:41:50 EST 2002 edwin@k7.mavetju:/usr/src/sys/compile/k7 i386

$FreeBSD: ports/x11-toolkits/Xaw3d/Makefile,v 1.36 2002/01/29 12:14:14 knu Exp $

>Description:

After installation of x11-toolkits/Xaw3d, the symlink lib/libXaw3d.so.6
still existed. Also it tried to remove lib/libXaw3d.so.7 twice (once
explicitely, once via %%AWVER%%)

>How-To-Repeat:

make reinstall/deinstall in x11-toolkits/Xaw3d

>Fix:

--- Makefile.old	Sun Sep 22 17:26:48 2002
+++ Makefile	Sun Sep 22 17:40:09 2002
@@ -27,7 +27,6 @@
 .if exists(${X11BASE}/bin/XFree86)
 post-build:
 	${CP} ${PKGDIR}/pkg-plist ${PLIST}
-	${ECHO_CMD} "lib/libXaw3d.so.7" >> ${PLIST}
 .endif
 
 # Workaround a bug in egcs on FreeBSD/Alpha.
@@ -42,6 +41,10 @@
 	${CP} ${WRKSRC}/README.XAW3D ${PREFIX}/share/doc/Xaw3d
 .if exists(${X11BASE}/bin/XFree86)
 	${LN} -sf ${X11BASE}/lib/libXaw3d.so.7 ${X11BASE}/lib/libXaw3d.so.6
+	${CP} ${PLIST} ${PLIST}.new
+	${ECHO_CMD} "lib/libXaw3d.so.6" >> ${PLIST}.new
+	${CAT} ${PLIST}.new | uniq > ${PLIST}
+	${RM} ${PLIST}.new
 .endif
 	@${CAT} ${PKGMESSAGE}
 

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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