From owner-freebsd-ports Mon May 11 06:03:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA05974 for freebsd-ports-outgoing; Mon, 11 May 1998 06:03:23 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA05969 for ; Mon, 11 May 1998 06:03:21 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id GAA29073; Mon, 11 May 1998 06:00:01 -0700 (PDT) Date: Mon, 11 May 1998 06:00:01 -0700 (PDT) Message-Id: <199805111300.GAA29073@freefall.freebsd.org> To: freebsd-ports@FreeBSD.ORG From: Dave Chapeskie Subject: Re: ports/6585: New port: pente-2.2.1 Reply-To: Dave Chapeskie Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR ports/6585; it has been noted by GNATS. From: Dave Chapeskie To: andy@icc.surw.chel.su, FreeBSD-gnats-submit@FreeBSD.ORG Cc: Subject: Re: ports/6585: New port: pente-2.2.1 Date: Mon, 11 May 1998 08:54:32 -0400 I made a port of this last December, either I forgot to send-pr it or it got lost somewhere. On Mon, May 11, 1998 at 01:21:00PM +0400, Andrey Zakhvatov wrote: > XALL_TARGET= [...] > Xdo-install: > X @ ${INSTALL_PROGRAM} ${WRKSRC}/pente ${PREFIX}/bin > X @ ${INSTALL_MAN} ${WRKSRC}/man6/pente.6 ${PREFIX}/man/man6 Instead of this I patched Makefile.in to use @prefix@ which gets set via the ports system. The other patches enable sound support (I wish the Linux people had a clue and used the correct include subdirectories). # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # patches/patch-aa # patches/patch-ab # patches/patch-ac # patches/patch-ad # echo x - patches/patch-aa sed 's/^X//' >patches/patch-aa << 'END-of-patches/patch-aa' X--- Makefile.in.orig Tue Dec 9 18:35:00 1997 X+++ Makefile.in Tue Dec 9 18:35:15 1997 X@@ -33,7 +33,7 @@ X X # Change these values to tell make where to put the binary and the man page X # when it's done compiling. X-PREFIX = /usr/games X+PREFIX = @prefix@ X BINDIR = $(PREFIX)/bin X MANDIR = $(PREFIX)/man X END-of-patches/patch-aa echo x - patches/patch-ab sed 's/^X//' >patches/patch-ab << 'END-of-patches/patch-ab' X--- configure.orig Tue Dec 9 18:49:10 1997 X+++ configure Tue Dec 9 18:46:00 1997 X@@ -1548,16 +1548,16 @@ X X else X echo "$ac_t""no" 1>&6 X-ac_safe=`echo "linux/soundcard.h" | sed 'y%./+-%__p_%'` X-echo $ac_n "checking for linux/soundcard.h""... $ac_c" 1>&6 X-echo "configure:1554: checking for linux/soundcard.h" >&5 X+ac_safe=`echo "machine/soundcard.h" | sed 'y%./+-%__p_%'` X+echo $ac_n "checking for machine/soundcard.h""... $ac_c" 1>&6 X+echo "configure:1554: checking for machine/soundcard.h" >&5 X if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then X echo $ac_n "(cached) $ac_c" 1>&6 X else X cat > conftest.$ac_ext < X+#include X EOF X ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" X { (eval echo configure:1564: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } END-of-patches/patch-ab echo x - patches/patch-ac sed 's/^X//' >patches/patch-ac << 'END-of-patches/patch-ac' X--- configure.in.orig Tue Dec 9 18:49:03 1997 X+++ configure.in Tue Dec 9 18:47:13 1997 X@@ -161,8 +161,8 @@ X sun/audioio.h, X AC_DEFINE(SUN_SOUND), X AC_CHECK_HEADER( X- linux/soundcard.h, X+ machine/soundcard.h, X AC_DEFINE(LINUX_SOUND))) X WMS_CHECK_H_ERRNO X WMS_CHECK_SOCKETS X if test "$cross_compiling" = "yes" ; then END-of-patches/patch-ac echo x - patches/patch-ad sed 's/^X//' >patches/patch-ad << 'END-of-patches/patch-ad' X--- ./wmslib/src/wms/snd.c.orig Tue Dec 9 18:52:38 1997 X+++ ./wmslib/src/wms/snd.c Tue Dec 9 18:54:56 1997 X@@ -13,10 +13,10 @@ X #elif LINUX_SOUND X #if !HAVE_GETDTABLESIZE X #include X #endif X-#include X+#include X #include X #endif X X #if SUN_SOUND X #define sound_dev_name "/dev/audio" END-of-patches/patch-ad exit -- Dave Chapeskie , DDM Consulting To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message