ports/60425: [patch] x11/mgapdesk: Unbreak on Alpha

Volker Stolz vs at foldr.org
Sat Dec 20 19:45:42 UTC 2003


>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 at 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 at 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:



More information about the freebsd-ports-bugs mailing list