From owner-freebsd-ports Sun Jul 18 2:50: 7 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 C5C0714F66 for ; Sun, 18 Jul 1999 02:50:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id CAA34162; Sun, 18 Jul 1999 02:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from lambic.physics.montana.edu (lambic.physics.montana.edu [153.90.192.128]) by hub.freebsd.org (Postfix) with ESMTP id 9595114BF4 for ; Sun, 18 Jul 1999 02:46:34 -0700 (PDT) (envelope-from handy@lambic.physics.montana.edu) Received: (from handy@localhost) by lambic.physics.montana.edu (8.9.3/8.9.3) id DAA44659; Sun, 18 Jul 1999 03:45:21 -0600 (MDT) (envelope-from handy) Message-Id: <199907180945.DAA44659@lambic.physics.montana.edu> Date: Sun, 18 Jul 1999 03:45:21 -0600 (MDT) From: handy@physics.montana.edu Reply-To: handy@physics.montana.edu To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/12691: windowmaker fixes Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12691 >Category: ports >Synopsis: configure fixes for windowmaker >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 Jul 18 02:50:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Brian Handy >Release: FreeBSD 4.0-CURRENT i386 >Organization: MSU - Bozeman >Environment: >Description: Update configure args to reflect reality. Also add hooks for compiling in gnome and KDE support. >How-To-Repeat: >Fix: diff -urN windowmaker.orig/Makefile windowmaker/Makefile --- windowmaker.orig/Makefile Sat Jul 17 02:24:30 1999 +++ windowmaker/Makefile Sun Jul 18 03:38:01 1999 @@ -29,14 +29,29 @@ CPPFLAGS=-I${LOCALBASE}/include CONFIGURE_ARGS= --with-pixmapdir=${PREFIX}/include/X11/pixmaps \ --with-nlsdir=${LOCALBASE}/lib/locale \ - --with-gfx-libs="-L${LOCALBASE}/lib" \ - --with-gfx-incs="-I${LOCALBASE}/include" \ + --with-libs-from="-L${LOCALBASE}/lib" \ + --with-incs-from="-I${LOCALBASE}/include" \ --disable-debug MAN1= geticonset.1x getstyle.1x seticons.1x setstyle.1x \ wdwrite.1x wmaker.1x wmsetbg.1x wxcopy.1x wxpaste.1x DATAFILES= WindowMaker-extra-0.1.tar.bz2 + +.if defined(USE_GNOME) +CONFIGURE_ARGS+= --enable-gnome +.endif + +.if defined(USE_KDE) +CONFIGURE_ARGS+= --enable-kde +.endif + +.SILENT: + +.if !defined(USE_KDE) && !defined(USE_GNOME) +pre-extract: + ${ECHO} "You can add hooks for Gnome and KDE by defining USE_GNOME and/or USE_KDE" +.endif post-patch: @perl -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/WPrefs.app/Paths.c \ >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message