Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Sep 1999 14:04:16 -0700 (PDT)
From:      scottm@CS.UCLA.EDU
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/13834: PREFIX support for kdesupport11
Message-ID:  <199909192104.OAA75030@mordred.cs.ucla.edu>

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

>Number:         13834
>Category:       ports
>Synopsis:       make PREFIX= broken in kdesupport11
>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:   Sun Sep 19 14:10:02 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 is broken for kdesupport11: configure
will not find certain libraries that are not installed under $PREFIX.

>How-To-Repeat:

cd /usr/ports/converters/kdesupport11
make PREFIX=/your/fav/path/here

>Fix:
	
Use this patch on /usr/ports/converters/kdesupport11/Makefile:

*** Makefile.orig	Sun Sep 19 13:51:37 1999
--- Makefile	Sun Sep 19 13:52:29 1999
***************
*** 25,30 ****
--- 25,38 ----
  CONFIGURE_ENV=	CXXFLAGS="$(CFLAGS)" \
  		INSTALL_SCRIPT="install -c -m 555"
  
+ .if defined(PREFIX)
+ CONFIGURE_ARGS+= "--with-qt-includes=$(PREFIX)/include/X11/qt" \
+ 		"--with-qt-libraries=$(PREFIX)/lib" \
+ 		"--with-extra-libs=${LOCALBASE}/lib" \
+ 		"--with-extra-includes=${LOCALBASE}/include"
+ CONFIGURE_ENV+= QTDIR="$(PREFIX)"
+ .endif
+ 
  .include <bsd.port.mk>
  
  post-install:

>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?199909192104.OAA75030>