Subject: pkg/29135: x11/xorg-libs build failure on OpenBSD
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <hiramatu@boreas.dti.ne.jp>
List: pkgsrc-bugs
Date: 01/27/2005 15:12:00
>Number: 29135
>Category: pkg
>Synopsis: x11/xorg-libs build failure on OpenBSD
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jan 27 15:12:00 +0000 2005
>Originator: Hiramatsu Yoshifumi
>Release: NetBSD 2.99.11
>Organization:
>Environment:
System: NetBSD orinoco.my.domain 2.99.11 NetBSD 2.99.11 (Orinoco) #3: Fri Dec 31 23:34:14 JST 2004 root@orinoco.my.domain:/usr/src/sys/arch/i386/compile/Orinoco i386
Architecture: i386
Machine: i386
>Description:
meta-pkgs/xorg/Makefile.common tries to create OPSYS specific configuration
file in this loop:
. for F in ${SYSTEMS}
@${MV} ${WRKSRC}/config/cf/${F}.cf \
${WRKSRC}/config/cf/${F}.cf.in
. endfor
SYSTEMS contains "DragonFly" but DragonFly.cf is created only on DragonFlyBSD,
so "mv DragonFly.cf DragonFly.cf.in" would fail when building on OpenBSD.
>How-To-Repeat:
>Fix:
Always create DragonFly.cf even if the platform isn't DragonFly?
diff -b -u -r1.16 Makefile.common
--- Makefile.common 25 Jan 2005 17:49:57 -0000 1.16
+++ Makefile.common 27 Jan 2005 14:44:19 -0000
@@ -211,9 +211,9 @@
@${LN} -sf ${X11ROOT}/lib/X11/config/version.def ${WRKSRC}/config/cf
@${LN} -sf ${X11ROOT}/lib/X11/config/date.def ${WRKSRC}/config/cf
-.if ${OPSYS} == "DragonFly"
+#.if ${OPSYS} == "DragonFly"
@${CP} ../../x11/xorg-libs/files/DragonFly.cf ${WRKSRC}/config/cf/
-.endif
+#.endif
. for F in ${SYSTEMS}
@${MV} ${WRKSRC}/config/cf/${F}.cf \
~
>Unformatted: