Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Sep 1999 14:23:26 -0700 (PDT)
From:      scottm@CS.UCLA.EDU
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/13835: Fix for kdegames11 and PREFIX
Message-ID:  <199909192123.OAA97245@mordred.cs.ucla.edu>

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

>Number:         13835
>Category:       ports
>Synopsis:       Fix 'make PREFIX=...' for kdegames11
>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:30:00 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' causes configure in kdegames11 to
not find libraries which may be located under $PREFIX or under
$LOCALBASE. This appears to fix the problem.

>How-To-Repeat:

cd /usr/ports/games/kdegames11
make PREFIX=/your/fav/path/here

>Fix:
	
Apply this patch to /usr/ports/games/kdegames11/Makefile. This patch
does assume that Qt and KDE are installed under $PREFIX.

*** Makefile.orig	Sun Sep 19 13:34:34 1999
--- Makefile	Sun Sep 19 13:34:56 1999
***************
*** 27,30 ****
--- 27,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>

>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?199909192123.OAA97245>