Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Jan 2010 12:56:48 GMT
From:      Rob Farmer <rfarmer@predatorlabs.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/142344: [PATCH] editors/aee Respect CC, fix XAE, take maintainership
Message-ID:  <201001051256.o05CumnE072257@www.freebsd.org>
Resent-Message-ID: <201001051300.o05D0Br5069965@freefall.freebsd.org>

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

>Number:         142344
>Category:       ports
>Synopsis:       [PATCH] editors/aee Respect CC, fix XAE, take maintainership
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 05 13:00:11 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Rob Farmer
>Release:        9.0-CURRENT
>Organization:
>Environment:
FreeBSD amethyst.predatorlabs.net 9.0-CURRENT FreeBSD 9.0-CURRENT #1 r201473: Mon Jan  4 19:10:44 PST 2010     rfarmer@amethyst.predatorlabs.net:/usr/obj/usr/src/sys/AMETHYST  i386
>Description:
* Respect ${CC}
* Fix build when XAE is selected
* Take maintainership
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN aee.old/Makefile aee/Makefile
--- aee.old/Makefile	2010-01-04 23:27:50.000000000 -0800
+++ aee/Makefile	2010-01-05 04:34:57.000000000 -0800
@@ -7,11 +7,11 @@
 
 PORTNAME=	aee
 PORTVERSION=	2.2.15b
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	editors
 MASTER_SITES=	http://mahon.cwx.net/sources/
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	rfarmer@predatorlabs.net
 COMMENT=	An easy editor with both curses and X11 interfaces
 
 OPTIONS=	XAE "Build X11 version 'xae'" off
@@ -31,6 +31,12 @@
 
 MAN1=		aee.1
 
+post-patch:
+	@${REINPLACE_CMD} -e 's|cc|${CC}|g' ${WRKSRC}/create.mk.aee
+	@${REINPLACE_CMD} -e 's|cc|${CC}|g' ${WRKSRC}/create.mk.xae
+	@${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' \
+		${WRKSRC}/create.mk.xae
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/aee ${PREFIX}/bin
 	${LN} ${PREFIX}/bin/aee ${PREFIX}/bin/rae


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



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