From owner-freebsd-ports Mon Jan 1 14:20:11 2001 From owner-freebsd-ports@FreeBSD.ORG Mon Jan 1 14:20:02 2001 Return-Path: Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E499237B402 for ; Mon, 1 Jan 2001 14:20:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f01MK1T38575; Mon, 1 Jan 2001 14:20:01 -0800 (PST) (envelope-from gnats) Resent-Date: Mon, 1 Jan 2001 14:20:01 -0800 (PST) Resent-Message-Id: <200101012220.f01MK1T38575@freefall.freebsd.org> Resent-From: gnats-admin@FreeBSD.org (GNATS Management) Resent-To: freebsd-ports@FreeBSD.org Resent-Reply-To: gnats-admin@FreeBSD.org, Anders Nordby Received: from totem.fix.no (totem.fix.no [213.142.66.130]) by hub.freebsd.org (Postfix) with ESMTP id 35C9B37B400 for ; Mon, 1 Jan 2001 14:16:33 -0800 (PST) Received: by totem.fix.no (Postfix, from userid 1000) id AE13F3C97; Mon, 1 Jan 2001 23:16:29 +0100 (CET) Message-Id: <20010101221629.AE13F3C97@totem.fix.no> Date: Mon, 1 Jan 2001 23:16:29 +0100 (CET) From: Anders Nordby Sender: anders@totem.fix.no Reply-To: Anders Nordby To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/24007: Fix of port: audio/fcplay Resent-Sender: gnats@FreeBSD.org Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24007 >Category: ports >Synopsis: Fix of port: audio/fcplay >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: Mon Jan 01 14:20:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Anders Nordby >Release: FreeBSD 4.2-STABLE i386 >Organization: Fluxpod Information eXchange >Environment: FreeBSD eggsilo.localnet 4.2-STABLE FreeBSD 4.2-STABLE #0: Sun Dec 17 19:09:13 CET 2000 root@eggsilo.localnet:/space/tmp/obj/usr/src/sys/EGGSILO i386 >Description: - Fix compilation error under XFree86 4.x - Add USE_GMAKE - Strip binary - Support NOPORTDOCS - Exclude GPL doc from package New patches: patch-ab and patch-ac. Thanks to KATO Tsuguru for patches. >How-To-Repeat: >Fix: diff -Nur fcplay.old/Makefile fcplay/Makefile --- fcplay.old/Makefile Mon Sep 18 00:00:23 2000 +++ fcplay/Makefile Mon Jan 1 00:17:26 2001 @@ -16,14 +16,18 @@ BUILD_DEPENDS= ${LOCALBASE}/include/sidplay/compconf.h:${PORTSDIR}/audio/libsidplay -CXXFLAGS+= -I${PREFIX}/include -DHAVE_FREEBSD -DHAVE_MACHINE_SOUNDCARD_H +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} + +USE_GMAKE= yes GNU_CONFIGURE= yes -WRKSRC= ${WRKDIR}/fcplay-${PORTVERSION} +CXXFLAGS+= -I${LOCALBASE}/include -post-install: - ${INSTALL} -d -m 555 ${PREFIX}/share/doc/fcplay - @${INSTALL_DATA} ${WRKSRC}/ABOUT ${PREFIX}/share/doc/fcplay/ - @${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/doc/fcplay/ - @${INSTALL_DATA} ${WRKSRC}/POINTER ${PREFIX}/share/doc/fcplay/ +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/fcplay ${PREFIX}/bin +.if !defined(NOPORTDOCS) + @${MKDIR} ${PREFIX}/share/doc/fcplay + ${INSTALL_DATA} ${WRKSRC}/ABOUT ${PREFIX}/share/doc/fcplay + ${INSTALL_DATA} ${WRKSRC}/POINTER ${PREFIX}/share/doc/fcplay +.endif .include diff -Nur fcplay.old/files/patch-ab fcplay/files/patch-ab --- fcplay.old/files/patch-ab Thu Jan 1 01:00:00 1970 +++ fcplay/files/patch-ab Mon Jan 1 00:17:28 2001 @@ -0,0 +1,10 @@ +--- AudioDriver.h.orig Tue Mar 4 06:47:00 1997 ++++ AudioDriver.h Tue Dec 12 02:46:01 2000 +@@ -7,6 +7,7 @@ + #include + #include + #include ++#include "Config.h" + + // These next includes were not required if libsidplay would not + // provide related HAVE_* definitions. diff -Nur fcplay.old/files/patch-ac fcplay/files/patch-ac --- fcplay.old/files/patch-ac Thu Jan 1 01:00:00 1970 +++ fcplay/files/patch-ac Mon Jan 1 00:17:30 2001 @@ -0,0 +1,49 @@ +--- configure.orig Thu May 28 04:08:00 1998 ++++ configure Tue Dec 12 02:51:01 2000 +@@ -1631,41 +1631,6 @@ + fi; + + +-# Extract the first word of "makedepend", so it can be a program name with args. +-set dummy makedepend; ac_word=$2 +-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +-echo "configure:1638: checking for $ac_word" >&5 +-if eval "test \"`echo '$''{'ac_cv_prog_MAKEDEP'+set}'`\" = set"; then +- echo $ac_n "(cached) $ac_c" 1>&6 +-else +- if test -n "$MAKEDEP"; then +- ac_cv_prog_MAKEDEP="$MAKEDEP" # Let the user override the test. +-else +- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" +- ac_dummy="$PATH" +- for ac_dir in $ac_dummy; do +- test -z "$ac_dir" && ac_dir=. +- if test -f $ac_dir/$ac_word; then +- ac_cv_prog_MAKEDEP="makedepend" +- break +- fi +- done +- IFS="$ac_save_ifs" +- test -z "$ac_cv_prog_MAKEDEP" && ac_cv_prog_MAKEDEP="nomakedep" +-fi +-fi +-MAKEDEP="$ac_cv_prog_MAKEDEP" +-if test -n "$MAKEDEP"; then +- echo "$ac_t""$MAKEDEP" 1>&6 +-else +- echo "$ac_t""no" 1>&6 +-fi +- +-if test "$MAKEDEP" = "nomakedep"; then +- { echo "configure: error: No ``makedepend'' found." 1>&2; exit 1; } +-fi; +- +- + # Extract the first word of "ranlib", so it can be a program name with args. + set dummy ranlib; ac_word=$2 + echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +@@ -2297,4 +2262,3 @@ + test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 + + +-$MAKE depend diff -Nur fcplay.old/pkg-plist fcplay/pkg-plist --- fcplay.old/pkg-plist Mon Sep 18 00:00:27 2000 +++ fcplay/pkg-plist Mon Jan 1 00:17:31 2001 @@ -1,5 +1,4 @@ bin/fcplay share/doc/fcplay/ABOUT -share/doc/fcplay/COPYING share/doc/fcplay/POINTER @dirrm share/doc/fcplay >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message