Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jun 1999 11:52:57 +0200 (CEST)
From:      Nick Hibma <nick.hibma@jrc.it>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/12323: [PATCH] xv-3.10a checks in /usr/local/include instead of LOCALBASE/include
Message-ID:  <199906210952.LAA03437@elpc36.jrc.it>

next in thread | raw e-mail | index | archive | help

>Number:         12323
>Category:       ports
>Synopsis:       [PATCH] xv-3.10a checks in /usr/local/include instead of LOCALBASE/include
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 21 03:00:03 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Nick Hibma
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
>Environment:

ports as of 10:00 this morning

>Description:

xv cannot find the files jpeglib.h and friends when installed with the
PREFIX=/home/t.

I am not sure whether LOCALBASE is the way to go though, but I think so.

>How-To-Repeat:

cd /usr/ports/graphics/xv
make PREFIX=/sometime/someplace/somewhere install


>Fix:
	
--- /usr/ports/graphics/xv/patches/patch-ac.orig        Mon Jun 21 13:54:34 1999
+++ /usr/ports/graphics/xv/patches/patch-ac     Mon Jun 21 13:56:08 1999
@@ -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"
  
  
--- /usr/ports/graphics/xv/patches/patch-ad.orig        Mon Jun 21 13:54:46 1999
+++ /usr/ports/graphics/xv/patches/patch-ad     Mon Jun 21 13:56:46 1999
@@ -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



>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199906210952.LAA03437>