summaryrefslogtreecommitdiffstats
path: root/x11/libX11/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/libX11/Makefile')
-rw-r--r--x11/libX11/Makefile18
1 files changed, 8 insertions, 10 deletions
diff --git a/x11/libX11/Makefile b/x11/libX11/Makefile
index cd92221..35050a7 100644
--- a/x11/libX11/Makefile
+++ b/x11/libX11/Makefile
@@ -6,29 +6,27 @@
#
PORTNAME= libX11
-PORTVERSION= 6.2.1.p2
+PORTVERSION= 6.2.1
CATEGORIES= x11
-MASTER_SITES= http://pdx.freedesktop.org/~anholt/dist/
+MASTER_SITES= http://pdx.freedesktop.org/~xlibs/release/
MAINTAINER= x11@FreeBSD.org
COMMENT= X11 library
+LIB_PC_DEPENDS= ${X11BASE}/libdata/pkgconfig/xau.pc:${PORTSDIR}/x11/libXau
BUILD_DEPENDS= ${X11BASE}/libdata/pkgconfig/xextensions.pc:${PORTSDIR}/x11/xextensions \
${X11BASE}/libdata/pkgconfig/xtrans.pc:${PORTSDIR}/x11/libXtrans \
- ${X11BASE}/libdata/pkgconfig/xau.pc:${PORTSDIR}/x11/libXau
+ ${LIB_PC_DEPENDS}
+RUN_DEPENDS= ${LIB_PC_DEPENDS}
USE_BZIP2= yes
PREFIX?= ${X11BASE}
GNU_CONFIGURE= yes
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GMAKE= yes
CONFIGURE_ARGS+= --enable-xdmauth
-CFLAGS+= -DMALLOC_0_RETURNS_NULL -DXLOCALEDIR="\"${X11BASE}/locale\""
-WRKSRC= ${WRKDIR}/${PORTNAME}-6.2.1
-
+CFLAGS+= -DMALLOC_0_RETURNS_NULL
INSTALLS_SHLIB= yes
-
-# This is a hack until we get locale files included with libX11.
-post-install:
- ${LN} -shf ${PREFIX}/lib/X11/locale ${PREFIX}/share/X11/locale
+USE_GNOME= gnomehack pkgconfig
.include <bsd.port.mk>
OpenPOWER on IntegriCloud