Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Sep 1999 21:17:06 -0700 (PDT)
From:      scottm@CS.UCLA.EDU
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/13800: patches to kdelib-1.1.1
Message-ID:  <199909180417.VAA79063@mordred.cs.ucla.edu>

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

>Number:         13800
>Category:       ports
>Synopsis:       Patches attached for kdelibs-1.1.1, fix 'make PREFIX=/path'
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 17 21:20:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Scott Michel
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
UCLA Computer Science Department
>Environment:

>Description:

'make PREFIX=/your/fav/path/here install' for kdelibs-1.1.1 is slightly
broken and needs to be taught to respect LOCALBASE and PREFIX when 
searching for libraries.

>How-To-Repeat:

make PREFIX=/your/fav/path/here

>Fix:

Patch for /usr/ports/x11/kdelibs11/Makefile. This patch assumes that
you've installed Qt in the PREFIX directory as well, although the port
may still continue to funciton of Qt is installed in /usr/local (if my
reading of the configure script is correct.)
	
*** Makefile.orig	Fri Sep 17 16:21:22 1999
--- Makefile	Fri Sep 17 20:54:50 1999
***************
*** 25,32 ****
  		"--with-extra-includes=${PREFIX}/include" \
  		"--x-inc=$(X11BASE)/include" \
  		"--x-lib=$(X11BASE)/lib"
  CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include -I${PREFIX}/include" \
! 		LDFLAGS="-L${LOCALBASE}/lib"
  USE_GMAKE=	yes
  
  .include <bsd.port.pre.mk>
--- 25,39 ----
  		"--with-extra-includes=${PREFIX}/include" \
  		"--x-inc=$(X11BASE)/include" \
  		"--x-lib=$(X11BASE)/lib"
+ .if defined(PREFIX)
+ CONFIGURE_ARGS += "--with-qt-includes=${PREFIX}/include/X11/qt " \
+ 		"--with-qt-libraries=${PREFIX}/lib"
+ .endif
  CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include -I${PREFIX}/include" \
! 		LDFLAGS="-L${PREFIX}/lib -L${LOCALBASE}/lib"
! .if defined(PREFIX)
! CONFIGURE_ENV += QTDIR="${PREFIX}" QTINC="${PREFIX}"
! .endif
  USE_GMAKE=	yes
  
  .include <bsd.port.pre.mk>

>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?199909180417.VAA79063>