Subject: pkg/30255: Additional patches for DragonFly build of Xorg
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <joerg@leaf.dragonflybsd.org>
List: pkgsrc-bugs
Date: 05/17/2005 14:00:01
>Number: 30255
>Category: pkg
>Synopsis: Additional patches for DragonFly build of Xorg
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue May 17 14:00:00 +0000 2005
>Originator: Jörg Sonnenberger
>Release: pkgsrc-HEAD [DragonFly 1.3]
>Organization:
>Environment:
DragonFly britannica.bec.de 1.3.1-DEVELOPMENT DragonFly 1.3.1-DEVELOPMENT #15: Tue May 17 13:31:47 2005 joerg@britannica.bec.de:/home/joerg/wd/DragonFly/world/src/sys/compile/TURTLE i386
>Description:
The platform detection of Qt can fail to detect DragonFly, the source itself correctly supports it.
>How-To-Repeat:
compile on DragonFly with GCC 3.4
>Fix:
Use the FreeBSD G++ config for now.
Index: x11/qt3-libs/Makefile.common
===================================================================
RCS file: /home/joerg/wd/repository/netbsd/pkgsrc/x11/qt3-libs/Makefile.common,v
retrieving revision 1.45
diff -u -r1.45 Makefile.common
--- x11/qt3-libs/Makefile.common 13 May 2005 16:54:13 -0000 1.45
+++ x11/qt3-libs/Makefile.common 16 May 2005 12:35:11 -0000
@@ -62,6 +62,8 @@
LDFLAGS+= -L/usr/local/lib/bind -lbind
BUILDLINK_PASSTHRU_DIRS+=/usr/local/include/bind /usr/local/lib/bind
SYS_LIBS= -lbind -ldb -ldl
+.elif ${OPSYS} == "DragonFly"
+CONFIGURE_ARGS+= -platform freebsd-g++
.endif
.if !exists(${X11BASE}/lib/libXinerama.so)