Fix build with modular X. ok pval@

This commit is contained in:
matthieu 2006-12-16 08:57:16 +00:00
parent ef944c4c31
commit 08b47a34aa
2 changed files with 12 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.43 2006/11/24 17:28:41 steven Exp $
# $OpenBSD: Makefile,v 1.44 2006/12/16 08:57:16 matthieu Exp $
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
@ -7,7 +7,7 @@ COMMENT-docs= "gtk+-2 documentation"
VERSION= 2.8.20
DISTNAME= gtk+-${VERSION}
PKGNAME-main= gtk+2-${VERSION}p1
PKGNAME-main= gtk+2-${VERSION}p2
PKGNAME-docs= gtk+2-docs-${VERSION}
CATEGORIES= x11 devel

View File

@ -0,0 +1,10 @@
--- configure.orig Sun Jul 2 15:57:45 2006
+++ configure Sat Sep 30 18:14:28 2006
@@ -26838,6 +26838,7 @@
have_base_x_pc=true
X_PACKAGES="$X_PACKAGES x11 xext xrender"
x_libs="`pkg-config --libs x11 xext xrender`"
+ X_CFLAGS="`pkg-config --cflags x11 xext xrender`"
# Strip out any .la files that pkg-config might give us (this happens
# with -uninstalled.pc files)