aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
Diffstat (limited to 'x11')
-rw-r--r--x11/xorg-libraries/Makefile1
-rw-r--r--x11/xorg-libraries/files/patch-Xrender-Imakefile39
-rw-r--r--x11/xorg-libraries/pkg-plist1
3 files changed, 41 insertions, 0 deletions
diff --git a/x11/xorg-libraries/Makefile b/x11/xorg-libraries/Makefile
index 5adef4bd2c4b..470f61b9fac2 100644
--- a/x11/xorg-libraries/Makefile
+++ b/x11/xorg-libraries/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libraries
PORTVERSION= 6.7.0
+PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= http://freedesktop.org/~xorg/X11R6.7.0/src/:xorg \
${MASTER_SITE_XORG:S/$/:xorg/} \
diff --git a/x11/xorg-libraries/files/patch-Xrender-Imakefile b/x11/xorg-libraries/files/patch-Xrender-Imakefile
new file mode 100644
index 000000000000..6df9d6bb0658
--- /dev/null
+++ b/x11/xorg-libraries/files/patch-Xrender-Imakefile
@@ -0,0 +1,39 @@
+Index: lib/Xrender/Imakefile
+===================================================================
+RCS file: /cvs/xorg/xc/lib/Xrender/Imakefile,v
+retrieving revision 1.2
+diff -u -r1.2 Imakefile
+--- lib/Xrender/Imakefile 23 Apr 2004 18:43:50 -0000 1.2
++++ lib/Xrender/Imakefile 7 Jul 2004 19:01:02 -0000
+@@ -133,6 +133,16 @@
+
+ HEADERS = Xrender.h $(NONSTANDARD_HEADERS)
+
++SUBSTVARS=prefix="$(PROJECTROOT)" \
++ exec_prefix="$(BINDIR)" \
++ libdir="$(USRLIBDIR)" \
++ includedir="$(INCROOT)" \
++ VERSION="0.8.4" \
++ X_REQUIRES="" \
++ RENDER_CFLAGS="" \
++ X_NON_PKG_CFLAGS="" \
++ X_NON_PKG_LIBS="-lX11 -lXext"
++
+ #include <Library.tmpl>
+
+ DependTarget()
+@@ -142,3 +152,14 @@
+ distclean:: clean
+ RemoveFile(Makefile)
+ #endif
++
++all:: xrender.pc
++
++xrender.pc: xrender.pc.in
++ RemoveFile($@)
++ sh ../Xcursor/config-subst $(SUBSTVARS) < xrender.pc.in > $@
++
++InstallNonExecFile(xrender.pc,$(PROJECTROOT)/libdata/pkgconfig)
++
++clean::
++ RemoveFile(xrender.pc)
diff --git a/x11/xorg-libraries/pkg-plist b/x11/xorg-libraries/pkg-plist
index 6673a8791c1b..6f7115e3d8db 100644
--- a/x11/xorg-libraries/pkg-plist
+++ b/x11/xorg-libraries/pkg-plist
@@ -647,3 +647,4 @@ lib/libxkbui.a
lib/libxkbui.so
lib/libxkbui.so.1
libdata/pkgconfig/xcursor.pc
+libdata/pkgconfig/xrender.pc