diff options
author | abs <abs> | 2009-05-03 22:58:31 +0000 |
---|---|---|
committer | abs <abs> | 2009-05-03 22:58:31 +0000 |
commit | cb2103c59980ee90a52193291f06700b7fc53caf (patch) | |
tree | bbbbd5c9ed253f92b75b23d81fcb7680b18702db /graphics/xv/patches | |
parent | 7f69a21dfc7e6357c3bd815794d5648d0909f129 (diff) | |
download | pkgsrc-cb2103c59980ee90a52193291f06700b7fc53caf.tar.gz |
Add PKG_DESTDIR_SUPPORT.
Use PREFIX rather than LOCALBASE.
Diffstat (limited to 'graphics/xv/patches')
-rw-r--r-- | graphics/xv/patches/patch-ac | 6 | ||||
-rw-r--r-- | graphics/xv/patches/patch-ad | 14 |
2 files changed, 10 insertions, 10 deletions
diff --git a/graphics/xv/patches/patch-ac b/graphics/xv/patches/patch-ac index 1eaf12969e9..24b0a43e75e 100644 --- a/graphics/xv/patches/patch-ac +++ b/graphics/xv/patches/patch-ac @@ -1,4 +1,4 @@ -$NetBSD: patch-ac,v 1.9 2007/07/08 10:50:25 wiz Exp $ +$NetBSD: patch-ac,v 1.10 2009/05/03 22:58:31 abs Exp $ --- config.h.orig 2007-06-08 07:29:49.000000000 +0000 +++ config.h @@ -9,8 +9,8 @@ $NetBSD: patch-ac,v 1.9 2007/07/08 10:50:25 wiz Exp $ -#define GS_PATH "gs" -/* #define GS_LIB "." */ -/* #define GS_DEV "ppmraw" */ -+#define GS_PATH "@LOCALBASE@/bin/gs" -+#define GS_LIB "@LOCALBASE@/share/ghostscript" ++#define GS_PATH "@PREFIX@/bin/gs" ++#define GS_LIB "@PREFIX@/share/ghostscript" +#define GS_DEV "ppmraw" diff --git a/graphics/xv/patches/patch-ad b/graphics/xv/patches/patch-ad index 4bbe23c05a1..ae3a744410b 100644 --- a/graphics/xv/patches/patch-ad +++ b/graphics/xv/patches/patch-ad @@ -1,4 +1,4 @@ -$NetBSD: patch-ad,v 1.10 2007/07/08 10:50:26 wiz Exp $ +$NetBSD: patch-ad,v 1.11 2009/05/03 22:58:31 abs Exp $ diff -u Imakefile Imakefile --- Imakefile.orig @@ -41,8 +41,8 @@ diff -u Imakefile Imakefile +#ifdef UseInstalledJpeg +JPEG = -DDOJPEG -+LIBJPEG = $(LDFLAGS) -L$(LOCALBASE)/lib -Wl,-R$(LOCALBASE)/lib -ljpeg -+JPEGINCLUDE = -I$(LOCALBASE)/include ++LIBJPEG = $(LDFLAGS) -L$(PREFIX)/lib -Wl,-R$(PREFIX)/lib -ljpeg ++JPEGINCLUDE = -I$(PREFIX)/include +#endif + #ifdef HaveTiff @@ -55,8 +55,8 @@ diff -u Imakefile Imakefile +#ifdef UseInstalledTiff +TIFF = -DDOTIFF -+LIBTIFF = -L$(LOCALBASE)/lib -Wl,-R$(LOCALBASE)/lib -ltiff -ljpeg -lz -+TIFFINCLUDE = -I$(LOCALBASE)/include ++LIBTIFF = -L$(PREFIX)/lib -Wl,-R$(PREFIX)/lib -ltiff -ljpeg -lz ++TIFFINCLUDE = -I$(PREFIX)/include +#endif + #ifdef HavePDS @@ -71,7 +71,7 @@ diff -u Imakefile Imakefile +*/ +#ifdef UseInstalledPng +PNG = -DDOPNG -+PNGDIR = ${LOCALBASE} ++PNGDIR = ${PREFIX} +PNGINC = -I$(PNGDIR)/include +PNGLIB = -L$(PNGDIR)/lib -lpng -lz +LIBPNG = ${PNGLIB} @@ -85,7 +85,7 @@ diff -u Imakefile Imakefile +### +*/ +#ifdef UseInstalledZlib -+ZLIBDIR = $(LOCALBASE) ++ZLIBDIR = $(PREFIX) +ZLIBINC = -I$(ZLIBDIR)/include +ZLIBLIB = -L$(ZLIBDIR)/lib -lz +LIBZLIB = ${ZLIB} |