From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Oct 15 15:51:39 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8A9AE16A4D7 for ; Wed, 15 Oct 2003 15:51:39 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20AE54403D for ; Wed, 15 Oct 2003 15:50:24 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h9FMoOFY029199 for ; Wed, 15 Oct 2003 15:50:24 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h9FMoOfb029197; Wed, 15 Oct 2003 15:50:24 -0700 (PDT) (envelope-from gnats) Resent-Date: Wed, 15 Oct 2003 15:50:24 -0700 (PDT) Resent-Message-Id: <200310152250.h9FMoOfb029197@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, avleeuwen@piwebs.com Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 796A716A4B3 for ; Wed, 15 Oct 2003 15:48:58 -0700 (PDT) Received: from thuis.piwebs.com (217-19-20-186.dsl.cambrium.nl [217.19.20.186]) by mx1.FreeBSD.org (Postfix) with SMTP id 78F8043F93 for ; Wed, 15 Oct 2003 15:48:56 -0700 (PDT) (envelope-from avleeuwen@thuis.piwebs.com) Received: (qmail 87667 invoked by uid 1001); 15 Oct 2003 22:49:42 -0000 Message-Id: <20031015224942.87666.qmail@thuis.piwebs.com> Date: 15 Oct 2003 22:49:42 -0000 From: avleeuwen@piwebs.com To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: lofi@FreeBSD.org Subject: ports/58095: Fix building audio/yammi without KDE X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: avleeuwen@piwebs.com List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2003 22:51:43 -0000 >Number: 58095 >Category: ports >Synopsis: Fix building audio/yammi without KDE >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Oct 15 15:50:23 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Arjan van Leeuwen >Release: FreeBSD 4.8-RELEASE-p3 i386 >Organization: >Environment: System: FreeBSD thuis.piwebs.com 4.8-RELEASE-p3 FreeBSD 4.8-RELEASE-p3 #0: Thu Aug 21 11:55:07 CEST 2003 avleeuwen@thuis.piwebs.com:/usr/obj/usr/src/sys/THUIS i386 >Description: This patch should unbreak building the yammi (audio/yammi) port when KDE is not installed. Tested on 5.1-CURRENT with no kdelibs installed. >How-To-Repeat: >Fix: diff -urN /usr/ports/audio/yammi/Makefile yammi/Makefile --- /usr/ports/audio/yammi/Makefile Wed Oct 1 18:17:50 2003 +++ yammi/Makefile Thu Oct 16 00:34:22 2003 @@ -24,7 +24,7 @@ GNU_CONFIGURE= yes CONFIGURE_ENV= CXXFLAGS="${CXXFLAGS} ${PTHREAD_CFLAGS}" \ LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS}" -CONFIGURE_ARGS+= --program-prefix='' +CONFIGURE_ARGS+= --program-prefix='' --enable-threading=yes --enable-mt=yes USE_REINPLACE= yes .include @@ -36,6 +36,8 @@ .if defined(WITH_NOATUN) BUILD_DEPENDS+= noatun:${PORTSDIR}/multimedia/kdemultimedia3 WITH_KDE=yes +.else +CONFIGURE_ARGS+= --disable-noatun .endif # defined(WITH_NOATUN) .if exists(${LOCALBASE}/lib/libkdecore.so) @@ -44,6 +46,8 @@ .if defined(WITH_KDE) USE_KDELIBS_VER=3 +.else +CONFIGURE_ARGS+= --disable-KDE .endif # defined(WITH_KDE) pre-configure:: diff -urN /usr/ports/audio/yammi/files/patch-configure yammi/files/patch-configure --- /usr/ports/audio/yammi/files/patch-configure Wed Oct 1 18:17:50 2003 +++ yammi/files/patch-configure Thu Oct 16 00:25:26 2003 @@ -1,6 +1,33 @@ ---- configure.orig Fri Sep 5 21:43:28 2003 -+++ configure Fri Sep 5 21:43:31 2003 -@@ -21260,7 +21260,7 @@ +--- configure.orig Sun Aug 31 23:25:52 2003 ++++ configure Thu Oct 16 00:24:50 2003 +@@ -19343,7 +19343,7 @@ + EOF + fi + +-echo "#if ! ($kde_qt_verstring)" >> conftest.$ac_ext ++echo "#if ! (1)" >> conftest.$ac_ext + cat >> conftest.$ac_ext <&5 + echo "${ECHO_T}$USE_RPATH" >&6 + ++if test "x$configure_enable_KDE" = "xyes"; then ++ + echo "$as_me:19952: checking for KDE" >&5 + echo $ECHO_N "checking for KDE... $ECHO_C" >&6 + +@@ -21156,6 +21158,8 @@ + + fi + ++fi ++ + if test "x$configure_enable_KDE" = "xyes"; then + + DO_NOT_COMPILE="$DO_NOT_COMPILE CVS debian bsd-port admin" +@@ -21260,7 +21264,7 @@ echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS @@ -9,7 +36,7 @@ cat >conftest.$ac_ext <<_ACEOF #line 21265 "configure" #include "confdefs.h" -@@ -21322,7 +21322,7 @@ +@@ -21322,7 +21326,7 @@ echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS @@ -18,7 +45,7 @@ cat >conftest.$ac_ext <<_ACEOF #line 21327 "configure" #include "confdefs.h" -@@ -21386,7 +21386,7 @@ +@@ -21386,7 +21390,7 @@ echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS @@ -27,7 +54,7 @@ cat >conftest.$ac_ext <<_ACEOF #line 21391 "configure" #include "confdefs.h" -@@ -21450,7 +21450,7 @@ +@@ -21450,7 +21454,7 @@ echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS @@ -36,7 +63,7 @@ cat >conftest.$ac_ext <<_ACEOF #line 21455 "configure" #include "confdefs.h" -@@ -21498,7 +21498,7 @@ +@@ -21498,7 +21502,7 @@ #define HAVE_LIBGDK 1 EOF @@ -45,7 +72,7 @@ else configure_enable_ogglibs=no -@@ -21527,7 +21527,7 @@ +@@ -21527,7 +21531,7 @@ echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS @@ -54,7 +81,7 @@ cat >conftest.$ac_ext <<_ACEOF #line 21532 "configure" #include "confdefs.h" -@@ -21589,7 +21589,7 @@ +@@ -21589,7 +21593,7 @@ echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS >Release-Note: >Audit-Trail: >Unformatted: