ports/122275: Fix irssi-fish on AMD64
Frank Fenor
frank at fenor.de
Sun Mar 30 22:40:02 UTC 2008
>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:
More information about the freebsd-ports-bugs
mailing list