mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-16 07:58:04 +00:00
df0e9fb363
I had moved libXThrStub into libX11, because it seemed unnecessary. However, because libc_r symbols are also weak, the weak stubs in libX11 would interfere, however they don't if they are in a library linked by libX11. The most common manifestation of the problem was: GThread-ERROR **: file gthread-posix.c: line 137 (g_thread_impl_init): error 'Invalid argument' during 'pthread_getschedparam (pthread_self(), &policy, &sched)' in glib apps. PR: ports/75477 Submitted by: KIMURA Yasuhiro, yasu at utahime dot org Testing by: marcus
71 lines
1.9 KiB
Makefile
71 lines
1.9 KiB
Makefile
# New ports collection makefile for: xorg-libraries
|
|
# Date created: 29 May 2004
|
|
# Whom: anholt@FreeBSD.org
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xorg-libraries
|
|
PORTVERSION= 6.8.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= x11
|
|
MASTER_SITES= ${MASTER_SITE_XORG}
|
|
MASTER_SITE_SUBDIR= X11R6.8.1/tars
|
|
DISTFILES= X11R${PORTVERSION}-src1.tar.gz \
|
|
X11R${PORTVERSION}-src3.tar.gz
|
|
|
|
MAINTAINER= x11@FreeBSD.org
|
|
COMMENT= X11 libraries and headers from X.Org
|
|
|
|
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \
|
|
fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig
|
|
|
|
CONFLICTS= Mesa-* XFree86-libraries-* \
|
|
libX11-* libGL-* libGLU-* libICE-* libSM-* libXau-* libXaw-* \
|
|
libXcursor-* libXdmcp-* libXext-* libXfont-* libXi-* \
|
|
libXinerama-* libXmu-* libXp-* libXpm-* libXrandr-* \
|
|
libXrender-* libXres-* libXt-* libXv-* libXxf86-* libxkbfile-* \
|
|
panoramixext-* printext-* randrext-* renderext-* resourceext-* \
|
|
xextensions-* xf86ext-* xlibs-* xpm-* xproto-*
|
|
|
|
EXTRA_PATCHES= ${CF_PATCHES}
|
|
|
|
XBUILD_DIRS= lib nls programs/Xserver/include \
|
|
programs/Xserver/hw/xfree86/parser
|
|
XINSTALL_DIRS= include lib nls programs/Xserver/include \
|
|
programs/Xserver/hw/xfree86/parser
|
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
post-patch:
|
|
${CP} ${FILESDIR}/nls-Compose-microsoft-cp1251 ${WRKSRC}/nls/Compose/microsoft-cp1251
|
|
${MKDIR} ${WRKSRC}/lib/XThrStub
|
|
${CP} ${FILESDIR}/XThrStub-Imakefile ${WRKSRC}/lib/XThrStub/Imakefile
|
|
|
|
post-install:
|
|
${MKDIR} ${PREFIX}/libdata/pkgconfig
|
|
${INSTALL_DATA} ${WRKSRC}/lib/Xcursor/xcursor.pc \
|
|
${PREFIX}/libdata/pkgconfig
|
|
|
|
.include "${.CURDIR}/../../x11-servers/xorg-server/Makefile.inc"
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${X_WINDOW_SYSTEM:L} != xorg
|
|
IGNORE= is part of X.Org. For switching to X.Org, read UPDATING entry 20040723
|
|
.endif
|
|
|
|
# BuildXF86DRI is false for FreeBSD < 4.1
|
|
.if ${OSVERSION} < 410000
|
|
PLIST_SUB+= OSMESA:="@comment "
|
|
.else
|
|
PLIST_SUB+= OSMESA:=""
|
|
.endif
|
|
|
|
.if ${OSVERSION} >= 500043
|
|
PLIST_SUB+= XTHRSTUB:="@comment "
|
|
.else
|
|
PLIST_SUB+= XTHRSTUB:=""
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|