From 03f5f957c232a8ac835f898e06512d8c635ea839 Mon Sep 17 00:00:00 2001 From: Shigeyuki Fukushima Date: Thu, 24 Jun 1999 16:00:06 +0000 Subject: Fix make PREFIX=/somewhere problem. Substitute /usr/local in patch-* for ${LOCALBASE}. --- graphics/xv/files/patch-ac | 4 ++-- graphics/xv/files/patch-ad | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'graphics') diff --git a/graphics/xv/files/patch-ac b/graphics/xv/files/patch-ac index e9764e62e719..602b0df12c2d 100644 --- a/graphics/xv/files/patch-ac +++ b/graphics/xv/files/patch-ac @@ -16,8 +16,8 @@ -/* #define GS_PATH "/usr/local/bin/gs" */ -/* #define GS_LIB "." */ -/* #define GS_DEV "ppmraw" */ -+#define GS_PATH "/usr/local/bin/gs" -+#define GS_LIB "/usr/local/lib/ghostscript" ++#define GS_PATH "${LOCALBASE}/bin/gs" ++#define GS_LIB "${LOCALBASE}/lib/ghostscript" +#define GS_DEV "ppmraw" diff --git a/graphics/xv/files/patch-ad b/graphics/xv/files/patch-ad index f76139c992ef..b8103dd51b51 100644 --- a/graphics/xv/files/patch-ad +++ b/graphics/xv/files/patch-ad @@ -28,8 +28,8 @@ +#ifdef UseInstalledJpeg +JPEG = -DDOJPEG -+LIBJPEG = -L/usr/local/lib -ljpeg -+JPEGINCLUDE = -I/usr/local/include ++LIBJPEG = -L${LOCALBASE}/lib -ljpeg ++JPEGINCLUDE = -I${LOCALBASE}/include +#endif + #ifdef HaveTiff @@ -42,8 +42,8 @@ +#ifdef UseInstalledTiff +TIFF = -DDOTIFF -+LIBTIFF = -L/usr/local/lib -ltiff -+TIFFINCLUDE = -I/usr/local/include ++LIBTIFF = -L${LOCALBASE}/lib -ltiff ++TIFFINCLUDE = -I${LOCALBASE}/include +#endif + #ifdef HavePDS -- cgit v1.2.3