Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jan 2001 12:26:47 -0800 (PST)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/24546: Update port: games/tinymux
Message-ID:  <200101222026.f0MKQlh86948@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         24546
>Category:       ports
>Synopsis:       Update port: games/tinymux
>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 22 12:30:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.2-RELEASE i386
>Organization:
>Environment:
>Description:
- Fix MASTER_SITES
- BUILD_DEPENDS -> LIB_DEPENDS
- Support CFLAGS/LOCALBASE properly

New file:
files/patch-ab

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/games/tinymux/Makefile games/tinymux/Makefile
--- /usr/ports/games/tinymux/Makefile	Mon Jan 22 20:24:34 2001
+++ games/tinymux/Makefile	Tue Jan 23 00:00:18 2001
@@ -1,4 +1,4 @@
-# New ports collection makefile for: TinyMUX
+# New ports collection makefile for:	TinyMUX
 # Date created:		1998/05/28
 # Whom:			cjohnson
 #
@@ -7,14 +7,20 @@
 
 PORTNAME=	tinymux
 PORTVERSION=	1.6p0
+PORTREVISION=	1
 CATEGORIES=	games
-MASTER_SITES=	ftp://ftp.digex.net/pub/mud/tinymux/
+MASTER_SITES=	http://www.moosh.net/pub/mush/servers/tinymux/TinyMUX-1.x/
 
-BUILD_DEPENDS=	${LOCALBASE}/lib/libgdbm.a:${PORTSDIR}/databases/gdbm
+LIB_DEPENDS=	gdbm.2:${PORTSDIR}/databases/gdbm
 
 WRKSRC=		${WRKDIR}/src
-#GNU_CONFIGURE=	YES
-USE_AUTOCONF=	YES
+
+USE_AUTOCONF=	yes
+CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
+		LIBS="-L${LOCALBASE}/lib"
+
+post-extract:
+	@${RM} -f ${WRKSRC}/gdbm.h
 
 #
 # Distribution does not include an install target.  So here it is.
diff -urN /usr/ports/games/tinymux/files/patch-aa games/tinymux/files/patch-aa
--- /usr/ports/games/tinymux/files/patch-aa	Thu Mar 30 12:17:03 2000
+++ games/tinymux/files/patch-aa	Mon Jan 22 23:40:39 2001
@@ -1,11 +1,19 @@
---- configure.in.orig	Thu Nov  5 16:36:22 1998
-+++ configure.in	Sun Mar 26 16:35:37 2000
+--- configure.in.orig	Fri Nov  6 06:36:22 1998
++++ configure.in	Mon Jan 22 23:40:31 2001
 @@ -17,7 +17,7 @@
  else
  	AC_EGREP_HEADER(sys_errlist,errno.h, ,AC_EGREP_HEADER(sys_errlist,stdio.h,,AC_DEFINE(NEED_SYS_ERRLIST_DCL)))
  fi
 -LIBS="-L./gdbm-1.7.3 -lgdbm"
-+LIBS="-L/usr/local/lib -lgdbm"
++AC_CHECK_LIB(gdbm, gdbm_open)
  AC_CHECK_LIB(crypt, main)
  AC_FUNC_STRFTIME
  AC_FUNC_VFORK
+@@ -126,7 +126,6 @@
+ AC_CHECK_LIB(resolv, main)
+ AC_CHECK_LIB(sun, getpwnam)
+ AC_CHECK_LIB(seq, main)
+-AC_CHECK_LIB(intl, main)
+ AC_CHECK_LIB(nsl, main)
+ if test $ac_cv_func_gethostbyaddr = no; then
+ 	AC_CHECK_LIB(inet, main)
diff -urN /usr/ports/games/tinymux/files/patch-ab games/tinymux/files/patch-ab
--- /usr/ports/games/tinymux/files/patch-ab	Thu Jan  1 09:00:00 1970
+++ games/tinymux/files/patch-ab	Mon Jan 22 23:28:03 2001
@@ -0,0 +1,31 @@
+--- Makefile.in.orig	Fri Nov  6 11:06:00 1998
++++ Makefile.in	Mon Jan 22 23:27:55 2001
+@@ -8,8 +8,10 @@
+ VPATH = @srcdir@
+ BIN = ../game/bin
+ CC = @CC@
++CFLAGS= @CFLAGS@
+ # CPP = @CPP@	# This is broken in autoconf.  Sigh.
+ CPP = $(CC) -E
++CPPFLAGS = @CPPFLAGS@
+ LIBS = @LIBS@
+ LIBOBJS = @LIBOBJS@
+ 
+@@ -18,7 +20,7 @@
+ # gmon.out)
+ #OPTIM = -O
+ #OPTIM = -g -pg -O
+-OPTIM = -g -O
++#OPTIM = -g -O
+ 
+ # The first set of definitions is for disk-based caching. If you wish to be
+ # memory based, comment the first set and uncomment the second set. Being
+@@ -170,7 +172,7 @@
+ LIB_SRC = 
+ LIB_INC = 
+ DEBUG	= $(OPTIM)
+-ALLCFLAGS = $(CFLAGS) $(DEBUG) $(DEFS) $(COMPRESS_DEFS) $(BASED) $(MALLOC_DEFS) $(CONC_DEFS) $(MOREDEFS) $(RLIM_F)
++ALLCFLAGS = $(CFLAGS) $(CPPFLAGS) $(DEBUG) $(DEFS) $(COMPRESS_DEFS) $(BASED) $(MALLOC_DEFS) $(CONC_DEFS) $(MOREDEFS) $(RLIM_F)
+ 
+ #Auxiliary files
+ A_INST	= README NOTES HIGHLIGHTS CREDITS CHANGES
diff -urN /usr/ports/games/tinymux/pkg-plist games/tinymux/pkg-plist
--- /usr/ports/games/tinymux/pkg-plist	Sun Nov 12 12:18:56 2000
+++ games/tinymux/pkg-plist	Tue Jan 23 00:10:57 2001
@@ -1,16 +1,16 @@
 games/tinymux/Startmux
 games/tinymux/alias.conf
-games/tinymux/compat.conf
-games/tinymux/mtrace.awk
-games/tinymux/mux.config
-games/tinymux/netmux.conf
 games/tinymux/bin/dbconvert
 games/tinymux/bin/mkindx
 games/tinymux/bin/netmux
 games/tinymux/bin/slave
+games/tinymux/compat.conf
 games/tinymux/data/db_check
 games/tinymux/data/db_load
 games/tinymux/data/db_unload
+games/tinymux/mtrace.awk
+games/tinymux/mux.config
+games/tinymux/netmux.conf
 games/tinymux/text/badsite.txt
 games/tinymux/text/connect.txt
 games/tinymux/text/create_reg.txt
@@ -27,14 +27,14 @@
 games/tinymux/text/wizhelp.txt
 games/tinymux/text/wizmotd.txt
 games/tinymux/text/wiznews.txt
-share/doc/tinymux/README
-share/doc/tinymux/README.COMPRESSION
-share/doc/tinymux/README.GUESTS
-share/doc/tinymux/README.MEMORY
-share/doc/tinymux/README.TOOLS
-@dirrm games/tinymux/bin
-@dirrm games/tinymux/data
+%%PORTDOCS%%share/doc/tinymux/README
+%%PORTDOCS%%share/doc/tinymux/README.COMPRESSION
+%%PORTDOCS%%share/doc/tinymux/README.GUESTS
+%%PORTDOCS%%share/doc/tinymux/README.MEMORY
+%%PORTDOCS%%share/doc/tinymux/README.TOOLS
+%%PORTDOCS%%@dirrm share/doc/tinymux
 @dirrm games/tinymux/text
+@dirrm games/tinymux/data
+@dirrm games/tinymux/bin
 @dirrm games/tinymux
-@dirrm games
-@dirrm share/doc/tinymux
+@unexec rmdir %D/games 2>/dev/null || true


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101222026.f0MKQlh86948>