From owner-freebsd-ports Fri Sep 17 21:20: 5 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 2102D1579B for ; Fri, 17 Sep 1999 21:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id VAA22414; Fri, 17 Sep 1999 21:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from mailman.cs.ucla.edu (Mailman.CS.UCLA.EDU [131.179.128.30]) by hub.freebsd.org (Postfix) with ESMTP id 1BE471579B for ; Fri, 17 Sep 1999 21:17:06 -0700 (PDT) (envelope-from scottm@mordred.cs.ucla.edu) Received: from mordred.cs.ucla.edu (mordred.cs.ucla.edu [131.179.192.128]) by mailman.cs.ucla.edu (8.9.1/UCLACS-5.0) with ESMTP id VAA14953 for ; Fri, 17 Sep 1999 21:17:06 -0700 (PDT) Received: (from root@localhost) by mordred.cs.ucla.edu (8.9.3/8.9.3) id VAA79063; Fri, 17 Sep 1999 21:17:06 -0700 (PDT) (envelope-from scottm) Message-Id: <199909180417.VAA79063@mordred.cs.ucla.edu> Date: Fri, 17 Sep 1999 21:17:06 -0700 (PDT) From: scottm@CS.UCLA.EDU Reply-To: scottm@CS.UCLA.EDU To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/13800: patches to kdelib-1.1.1 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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 --- 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 >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message