summaryrefslogtreecommitdiff
path: root/graphics/xpm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/xpm/Makefile')
-rw-r--r--graphics/xpm/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/xpm/Makefile b/graphics/xpm/Makefile
index 98ef1f8cf65..eea59b8aa61 100644
--- a/graphics/xpm/Makefile
+++ b/graphics/xpm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2001/02/16 15:22:37 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2001/06/08 21:30:35 tron Exp $
DISTNAME= xpm-3.4k
CATEGORIES= graphics x11
@@ -26,4 +26,10 @@ post-install:
${LN} -f libXpm.so.4.11 libXpm.so.4
.endif
+.if defined(HAVE_OPENWINDOWS)
+PLIST_SUBST+= INCDIR=include/X11/X11
+.else
+PLIST_SUBST+= INCDIR=include/X11
+.endif
+
.include "../../mk/bsd.pkg.mk"