aboutsummaryrefslogtreecommitdiff
path: root/x11/xorg-libraries
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2004-07-07 19:49:55 +0000
committerEric Anholt <anholt@FreeBSD.org>2004-07-07 19:49:55 +0000
commit75b8866e2237aa80910404ff99d57cba24dbdc37 (patch)
tree75e9a50b6775b2834d1fb0dbf9ef61d8b76f47a6 /x11/xorg-libraries
parent464f3cfdfa132f00506ca6381fcff82f51788495 (diff)
downloadports-75b8866e2237aa80910404ff99d57cba24dbdc37.tar.gz
ports-75b8866e2237aa80910404ff99d57cba24dbdc37.zip
Notes
Diffstat (limited to 'x11/xorg-libraries')
-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