Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Dec 2001 14:46:11 -0800 (PST)
From:      Willem van Engen <wvengen@stack.nl>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/32766: Port update: misc/cheatah: strip binary after install
Message-ID:  <200112122246.fBCMkBt95467@freefall.freebsd.org>

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

>Number:         32766
>Category:       ports
>Synopsis:       Port update: misc/cheatah: strip binary after install
>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:   Wed Dec 12 14:50:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Willem van Engen
>Release:        4.4-STABLE i386
>Organization:
>Environment:
>Description:
The cheatah binary is unstripped by default. This patch strips the binary after installation.
And now using PREFIX instead of LOCALBASE when checking for sword lib depend, I think that's slightly better.
>How-To-Repeat:

>Fix:
diff -ruN /usr/ports/misc/cheatah/Makefile misc/cheatah/Makefile
--- /usr/ports/misc/cheatah/Makefile	Tue Dec 11 10:38:39 2001
    misc/cheatah/Makefile	Wed Dec 12 11:49:15 2001
@@ -2,7  2,7 @@
 # Date created:   11 June 2001
 # Whom:           Willem van Engen <wvengen@stack.nl>
 #
-# $FreeBSD: ports/misc/cheatah/Makefile,v 1.1 2001/12/11 09:38:39 ijliao Exp $
 # $FreeBSD$
 #
 
 PORTNAME=	cheatah
@@ -16,7  16,7 @@
 
 BUILD_DEPENDS=	${NONEXISTENT}:${PORTSDIR}/misc/sword:extract
 LIB_DEPENDS=	sword.1:${PORTSDIR}/misc/sword
-RUN_DEPENDS=	${LOCALBASE}/share/sword/mods.d:${PORTSDIR}/misc/sword-modules
 RUN_DEPENDS=	${PREFIX}/share/sword/mods.d:${PORTSDIR}/misc/sword-modules
 
 GNU_CONFIGURE=	yes
 USE_GMAKE=	yes
@@ -27,5  27,8 @@
 PORTREVISION!=	${PORTREVISION}
 PORTEPOCH!=	${PORTEPOCH}
 WRKSRC=		${WRKDIRPREFIX}${MAINDIR}/work/sword-${PORTVERSION}/apps/X11/cheatah
 
 post-install:
 	strip ${PREFIX}/bin/cheatah
 
 .include <bsd.port.mk>

>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?200112122246.fBCMkBt95467>