Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Mar 2008 22:34:46 GMT
From:      Frank Fenor <frank@fenor.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/122275: Fix irssi-fish on AMD64
Message-ID:  <200803302234.m2UMYkA3042735@www.freebsd.org>
Resent-Message-ID: <200803302240.m2UMe1Wr019240@freefall.freebsd.org>

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

>Number:         122275
>Category:       ports
>Synopsis:       Fix irssi-fish on AMD64
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 30 22:40:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Frank Fenor
>Release:        FreeBSD 7.0-PRERELEASE
>Organization:
>Environment:
FreeBSD konzentrisch.de 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #5: Tue Feb 5 00:33:58 CET 2008
>Description:
Once ports/122272 is committed, we have Miracl to build irc/irssi-fish on AMD64 platforms. This patch includes the AMD64 build mechanism into the port.
>How-To-Repeat:

>Fix:
cd /usr/ports/irc && patch -p0 < patch.txt

Patch attached with submission follows:

diff -Nru irssi-fish.vanilla/Makefile irssi-fish/Makefile
--- irssi-fish.vanilla/Makefile	2008-01-23 23:27:29.000000000 +0100
+++ irssi-fish/Makefile	2008-01-23 23:31:04.000000000 +0100
@@ -26,6 +26,12 @@
 
 IRSSI_WRKSRC!=	cd ${.CURDIR}/../irssi && ${MAKE} -V WRKSRC
 
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "amd64"
+ALL_TARGET=     amd64
+.endif
+
 post-patch:
 	@${FIND} ${WRKSRC} -type f -exec ${REINPLACE_CMD} -E -e 's|
||' {} \;
 	@${REINPLACE_CMD} -E \
@@ -48,4 +54,4 @@
 	${MKDIR} ${PREFIX}/lib/irssi/modules
 	${INSTALL_PROGRAM} ${WRKSRC}/libfish.so ${PREFIX}/lib/irssi/modules
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>


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



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