Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Dec 2003 17:39:51 +0100 (CET)
From:      Volker Stolz <vs@foldr.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/60425: [patch] x11/mgapdesk: Unbreak on Alpha
Message-ID:  <200312201639.hBKGdo0Z002153@varphi.theater.foldr.org>
Resent-Message-ID: <200312201940.hBKJeCDh057257@freefall.freebsd.org>

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

>Number:         60425
>Category:       ports
>Synopsis:       [patch] x11/mgapdesk: Unbreak on Alpha
>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:   Sat Dec 20 11:40:12 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Volker Stolz
>Release:        FreeBSD 5.1-20031207-SNAP alpha
>Organization:
>Environment:
System: FreeBSD varphi.theater.foldr.org 5.1-20031207-SNAP FreeBSD 5.1-20031207-SNAP #0: Sat Dec 20 06:47:42 CET 2003 root@varphi.theater.foldr.org:/usr/src/sys/alpha/compile/VARPHI alpha


>Description:
- Link with libio on alpha
   NB: I do not have the hardware to test this, maybe readb/readl need
        tweaking, too. Please provide feedback!
- Prune dependencies, X_PREFIX is sufficient
>How-To-Repeat:
>Fix:
--- /usr/ports/x11/mgapdesk/Makefile	Sat Apr 26 18:37:10 2003
+++ Makefile	Sat Dec 20 17:35:26 2003
@@ -15,8 +15,6 @@
 MAINTAINER=	ports@freebsd.org
 COMMENT=	Matrox Powerdesk for *nix
 
-BUILD_DEPENDS=	XFree86:${PORTSDIR}/x11/XFree86-4
-
 USE_X_PREFIX=	YES
 USE_GNOME=	gtk12
 
@@ -27,6 +25,10 @@
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
 .include <bsd.port.pre.mk>
+
+.if (${ARCH} == "alpha")
+CONFIGURE_ENV+=	LDFLAGS="${LDFLAGS} -lio"
+.endif
 
 post-extract:
 		@${RM} -f ${WRKSRC}/config.cache
>Release-Note:
>Audit-Trail:
>Unformatted:



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