[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ports/94456: [PATCH] Modify lang/clisp -> unBREAK devel/meta-cvs



>Number:         94456
>Category:       ports
>Synopsis:       [PATCH] Modify lang/clisp -> unBREAK devel/meta-cvs
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 14 22:50:31 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Shaun Amott
>Release:        FreeBSD 6.1-PRERELEASE i386
>Organization:
>Environment:

>Description:

clisp calls cc internally to compile programs, but the internal cc is not
provided with adequete CFLAGS. This means that meta-cvs cannot be compiled,
since clisp can't find certain files it needs.

(The meta-cvs maintainer has been CC'ed; the clisp maintainer has recently
requested to be dropped as maintainer; therefore I have not CC'ed him)

>How-To-Repeat:

meta-cvs is already marked as broken.

>Fix:

The following patch allows clisp to execute cc with suitable CFLAGS. Below
that is a patch unbreak meta-cvs, and a notice for UPDATING.

--- clisp.diff begins here ---
diff -urN lang/clisp.orig/Makefile lang/clisp/Makefile
--- lang/clisp.orig/Makefile	Wed Feb  8 13:51:40 2006
+++ lang/clisp/Makefile	Tue Mar 14 22:24:17 2006
@@ -7,6 +7,7 @@
 
 PORTNAME=	clisp
 PORTVERSION=	2.38
+PORTREVISION=	1
 CATEGORIES=	lang lisp
 MASTER_SITES=	${MASTER_SITE_GNU}
 MASTER_SITE_SUBDIR=${PORTNAME}/release/${PORTVERSION}
@@ -45,6 +46,9 @@
 	cd ${WRKSRC}/${BUILD_DIRNAME} && \
 	./makemake ${MAKEMAKE_ARGS} > Makefile && \
 	make config.lisp
+
+	${REINPLACE_CMD} -e 's#^CFLAGS =#CFLAGS = -I${LOCALBASE}/include#' \
+	                 ${WRKSRC}/${BUILD_DIRNAME}/Makefile
 
 MAN1=	clisp.1
 
diff -urN devel/meta-cvs.orig/Makefile devel/meta-cvs/Makefile
--- clisp.diff ends here ---


--- meta-cvs.diff begins here ---
--- devel/meta-cvs.orig/Makefile	Tue Oct 11 07:24:20 2005
+++ devel/meta-cvs/Makefile	Tue Mar 14 22:24:40 2006
@@ -17,8 +17,6 @@
 
 BUILD_DEPENDS=	clisp:${PORTSDIR}/lang/clisp
 
-BROKEN=		Does not build
-
 USE_GCC=	2.95
 
 pre-build:
--- meta-cvs.diff ends here ---


--- UPDATING.diff begins here ---
--- UPDATING.orig	Tue Mar 14 22:15:18 2006
+++ UPDATING	Tue Mar 14 22:30:19 2006
@@ -6,6 +6,14 @@
 time you update your ports collection, before attempting any port
 upgrades.
 
+20060314:
+  AFFECTS: users of devel/meta-cvs
+  AUTHOR: shaun_(_at_)_inerd_(_dot_)_com
+
+  The meta-cvs port is now buildable again. Please ensure you upgrade
+  clisp before attempting to build, and 'make clean' inside both port's
+  directories, if necessary.
+
 20060313:
   AFFECTS: users of multimedia/vcdimager and security/dirmngr
   AUTHOR: nork_(_at_)_FreeBSD_(_dot_)_org
--- UPDATING.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
freebsd-ports-bugs_(_at_)_freebsd_(_dot_)_org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "freebsd-ports-bugs-unsubscribe_(_at_)_freebsd_(_dot_)_org"


Visit your host, monkey.org