diff options
author | tron <tron@pkgsrc.org> | 2001-06-08 21:30:35 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2001-06-08 21:30:35 +0000 |
commit | 2937ea4319b4998184167f834037690a5b33094e (patch) | |
tree | 5a0dc277a99814a947ba13ea52034604df6fd1ab /graphics/xpm | |
parent | 756c238aaf7443f3d8fe18771c9126bb04ae0453 (diff) | |
download | pkgsrc-2937ea4319b4998184167f834037690a5b33094e.tar.gz |
Fix path of include files on systems using OpenWindows.
Diffstat (limited to 'graphics/xpm')
-rw-r--r-- | graphics/xpm/Makefile | 8 | ||||
-rw-r--r-- | graphics/xpm/pkg/PLIST | 4 |
2 files changed, 9 insertions, 3 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" diff --git a/graphics/xpm/pkg/PLIST b/graphics/xpm/pkg/PLIST index 0ab52bcc4b8..6031716b2b1 100644 --- a/graphics/xpm/pkg/PLIST +++ b/graphics/xpm/pkg/PLIST @@ -1,10 +1,10 @@ -@comment $NetBSD: PLIST,v 1.10 2001/01/04 15:10:44 agc Exp $ +@comment $NetBSD: PLIST,v 1.11 2001/06/08 21:30:36 tron Exp $ bin/cxpm bin/sxpm lib/libXpm.a lib/libXpm.so lib/libXpm.so.4 lib/libXpm.so.4.11 -include/X11/xpm.h +${INCDIR}/xpm.h man/cat1/cxpm.0.gz man/cat1/sxpm.0.gz |