diff options
author | Shigeyuki Fukushima <shige@FreeBSD.org> | 1999-06-24 16:00:06 +0000 |
---|---|---|
committer | Shigeyuki Fukushima <shige@FreeBSD.org> | 1999-06-24 16:00:06 +0000 |
commit | 03f5f957c232a8ac835f898e06512d8c635ea839 (patch) | |
tree | c0317cbd1487f821a7858ddba5049a2d31d55233 /graphics/xv | |
parent | 4b396d7a9d6f541be1dc7e953ada75b5d75c09c9 (diff) | |
download | ports-03f5f957c232a8ac835f898e06512d8c635ea839.tar.gz ports-03f5f957c232a8ac835f898e06512d8c635ea839.zip |
Fix make PREFIX=/somewhere problem.
Substitute /usr/local in patch-* for ${LOCALBASE}.
Notes
Notes:
svn path=/head/; revision=19751
Diffstat (limited to 'graphics/xv')
-rw-r--r-- | graphics/xv/files/patch-ac | 4 | ||||
-rw-r--r-- | graphics/xv/files/patch-ad | 8 |
2 files changed, 6 insertions, 6 deletions
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 |