aboutsummaryrefslogtreecommitdiffstats
path: root/x11/xorg-libraries
diff options
context:
space:
mode:
authoranholt <anholt@FreeBSD.org>2004-07-08 03:49:55 +0800
committeranholt <anholt@FreeBSD.org>2004-07-08 03:49:55 +0800
commit1bfeb1b9ce2f243aad16643d95d8bc9dcc6dd6f0 (patch)
tree6cf9ef0986ecedef916b3a1516adb369f1c888bd /x11/xorg-libraries
parent4ac039fc9a7553c1f5bcd17bf4b5696524156988 (diff)
downloadfreebsd-ports-gnome-1bfeb1b9ce2f243aad16643d95d8bc9dcc6dd6f0.tar.gz
freebsd-ports-gnome-1bfeb1b9ce2f243aad16643d95d8bc9dcc6dd6f0.tar.zst
freebsd-ports-gnome-1bfeb1b9ce2f243aad16643d95d8bc9dcc6dd6f0.zip
Install xrender.pc, required by xcursor.pc
PR: ports/68764 Submitted by: Franz Klammer <klammer@webonaut.com> Obtained from: X.org CVS
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