diff options
author | shige <shige@FreeBSD.org> | 1999-06-25 00:00:06 +0800 |
---|---|---|
committer | shige <shige@FreeBSD.org> | 1999-06-25 00:00:06 +0800 |
commit | 2b093eb1422c1d9013d53bf098b1caabbd2a2b0f (patch) | |
tree | a398c63003df28285f5fe442f51a117d8c51dd22 /graphics | |
parent | 37622b0723b3068a1f6e2d00bd9e1b8a13371cf4 (diff) | |
download | freebsd-ports-graphics-2b093eb1422c1d9013d53bf098b1caabbd2a2b0f.tar.gz freebsd-ports-graphics-2b093eb1422c1d9013d53bf098b1caabbd2a2b0f.tar.zst freebsd-ports-graphics-2b093eb1422c1d9013d53bf098b1caabbd2a2b0f.zip |
Fix make PREFIX=/somewhere problem.
Substitute /usr/local in patch-* for ${LOCALBASE}.
Diffstat (limited to 'graphics')
-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 e9764e62e71..602b0df12c2 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 f76139c992e..b8103dd51b5 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 |