ports/112361: [PATCH] lang/cmucl: use IA32_BINARY_PORT, clean up

Alejandro Pulver alepulver at FreeBSD.org
Wed May 2 18:50:04 UTC 2007


>Number:         112361
>Category:       ports
>Synopsis:       [PATCH] lang/cmucl: use IA32_BINARY_PORT, clean up
>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:   Wed May 02 18:50:03 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Alejandro Pulver
>Release:        FreeBSD 6.2-RELEASE i386
>Organization:
>Environment:


System: FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007
    root at dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP



>Description:


- Use IA32_BINARY_PORT (to support amd64/ia64 compatibility), and add comment before it (about why it's only for i386).
- Use INSTALL_PROGRAM and INSTALL_MAN macros.
- Use MANPREFIX.


>How-To-Repeat:





>Fix:


--- cmucl.diff begins here ---
Index: cmucl/Makefile
===================================================================
RCS file: /home/pcvs/ports/lang/cmucl/Makefile,v
retrieving revision 1.26
diff -u -r1.26 Makefile
--- cmucl/Makefile	5 May 2006 18:34:50 -0000	1.26
+++ cmucl/Makefile	2 May 2007 18:16:24 -0000
@@ -19,8 +19,10 @@
 MAINTAINER=	cracauer at cons.org
 COMMENT=	The CMU implementation of Common Lisp
 
-ONLY_FOR_ARCHS=	i386
-USE_BZIP2=	YES
+# To make available on other archs, has to be cross-compiled (there is a
+# script for this, but a configuration file has to be written).
+IA32_BINART_PORT=	yes
+USE_BZIP2=	yes
 NO_WRKSUBDIR=	yes
 NO_BUILD=	yes
 MAN1=		lisp.1 cmucl.1
@@ -35,13 +37,11 @@
 .endif
 
 do-install:
-	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} ${WRKDIR}/bin/lisp ${PREFIX}/bin
-	(cd ${WRKDIR} && ${FIND} lib | \
-		${CPIO} -pdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX})
-	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} ${WRKDIR}/man/man1/cmucl.1 \
-		${PREFIX}/man/man1
-	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} ${WRKDIR}/man/man1/lisp.1 \
-		${PREFIX}/man/man1
+	${INSTALL_PROGRAM} ${WRKDIR}/bin/lisp ${PREFIX}/bin/${PORTNAME}
+	cd ${WRKDIR} && ${FIND} lib | \
+		${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}
+	${INSTALL_MAN} ${WRKDIR}/man/man1/cmucl.1 ${MANPREFIX}/man/man1
+	${INSTALL_MAN} ${WRKDIR}/man/man1/lisp.1 ${MANPREFIX}/man/man1
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${WRKDIR}/doc/cmucl/* ${DOCSDIR}
--- cmucl.diff ends here ---



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



More information about the freebsd-ports-bugs mailing list