diff options
author | agc <agc@pkgsrc.org> | 1997-11-20 13:07:26 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 1997-11-20 13:07:26 +0000 |
commit | 009c3cf0e4267b80438a554ba599df6c3312d22d (patch) | |
tree | 34e92cddca35e9bcca13b231ba94dd53616670f4 /graphics/xv/patches/patch-ad | |
parent | c1525a793cdd60a060b437298bd08a083df2b9a8 (diff) | |
download | pkgsrc-009c3cf0e4267b80438a554ba599df6c3312d22d.tar.gz |
Initial import of xv-3.10a from FreeBSD ports collection into NetBSD
packages collection.
Diffstat (limited to 'graphics/xv/patches/patch-ad')
-rw-r--r-- | graphics/xv/patches/patch-ad | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/graphics/xv/patches/patch-ad b/graphics/xv/patches/patch-ad new file mode 100644 index 00000000000..bdfa852aad2 --- /dev/null +++ b/graphics/xv/patches/patch-ad @@ -0,0 +1,62 @@ +--- ./Imakefile.org Fri Jan 13 12:24:01 1995 ++++ ./Imakefile Wed Jul 5 03:32:57 1995 +@@ -6,13 +6,15 @@ + /* if, for whatever reason, you're unable to get the JPEG library to compile + * on your machine, *COMMENT OUT* the following line + */ +-#define HaveJpeg ++/* #define HaveJpeg */ ++#define UseInstalledJpeg + + + /* if, for whatever reason, you're unable to get the TIFF library to compile + * on your machine, *COMMENT OUT* the following line + */ +-#define HaveTiff ++/* #define HaveTiff */ ++#define UseInstalledTiff + + + /* if, for whatever reason, you're unable to get the PDS/VICAR support +@@ -119,16 +121,30 @@ + JPEG = -DDOJPEG + JPEGDIR = jpeg + LIBJPEG = $(JPEGDIR)/libjpeg.a ++DEPLIBJPEG = $(LIBJPEG) + JPEGINCLUDE = -I$(JPEGDIR) + #endif + ++#ifdef UseInstalledJpeg ++JPEG = -DDOJPEG ++LIBJPEG = -L/usr/local/lib -ljpeg ++JPEGINCLUDE = -I/usr/local/include ++#endif ++ + #ifdef HaveTiff + TIFF = -DDOTIFF + TIFFDIR = tiff + LIBTIFF = $(TIFFDIR)/libtiff.a ++DEPLIBTIFF = $(LIBTIFF) + TIFFINCLUDE = -I$(TIFFDIR) + #endif + ++#ifdef UseInstalledTiff ++TIFF = -DDOTIFF ++LIBTIFF = -L/usr/local/lib -ltiff ++TIFFINCLUDE = -I/usr/local/include ++#endif ++ + #ifdef HavePDS + PDS = -DDOPDS + #endif +@@ -142,8 +158,8 @@ + #endif + + +-DEPLIBS = $(LIBJPEG) $(LIBTIFF) +-LOCAL_LIBRARIES = $(XLIB) $(DEPLIBS) ++DEPLIBS = $(DEPLIBJPEG) $(DEPLIBTIFF) ++LOCAL_LIBRARIES = $(XLIB) $(LIBJPEG) $(LIBTIFF) + + DEFINES= $(SCO) $(UNIX) $(NODIRENT) $(VPRINTF) $(TIMERS) \ + $(HPUX7) $(JPEG) $(TIFF) $(PDS) $(DXWM) $(RAND) \ |