diff options
author | dholland <dholland@pkgsrc.org> | 2008-09-08 18:40:52 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2008-09-08 18:40:52 +0000 |
commit | b3aeff09c3319c89759c466acd0f45d4bf531738 (patch) | |
tree | a0052e302e2364d05fbc7d016058fb55f2d22ff0 /x11/Xfixes | |
parent | 735a429bf41ed8802210d01edff91fa1259064e3 (diff) | |
download | pkgsrc-b3aeff09c3319c89759c466acd0f45d4bf531738.tar.gz |
Fix my previous commit, which was borked in some cases. Noted by gson@.
Diffstat (limited to 'x11/Xfixes')
-rw-r--r-- | x11/Xfixes/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/x11/Xfixes/Makefile b/x11/Xfixes/Makefile index 992f025c962..27b0c478ac1 100644 --- a/x11/Xfixes/Makefile +++ b/x11/Xfixes/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.24 2008/09/08 07:02:52 dholland Exp $ +# $NetBSD: Makefile,v 1.25 2008/09/08 18:40:52 dholland Exp $ # DISTNAME= libXfixes-2.0.1 @@ -13,9 +13,6 @@ HOMEPAGE= http://freedesktop.org/ COMMENT= X Fixes extension of X RandR CONFLICTS+= libXfixes-[0-9]* -.if "${X11_TYPE}" != "native" -PKG_FAIL_REASON+="This package is for native X11 only; use libXfixes instead." -.endif PKG_INSTALLATION_TYPES= overwrite pkgviews @@ -26,6 +23,11 @@ GNU_CONFIGURE= yes PKGCONFIG_OVERRIDE+= xfixes.pc.in .include "../../mk/bsd.prefs.mk" + +.if ${X11_TYPE} != "native" +PKG_FAIL_REASON+="This package is for native X11 only; use libXfixes instead." +.endif + .if (${OPSYS} == "Darwin") CFLAGS+= -fno-common .endif |