Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Aug 2001 15:38:01 -0700 (PDT)
From:      KATO Tsuguru <tkato@prontomail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/29823: Update port: graphics/aalib
Message-ID:  <200108172238.f7HMc1642147@freefall.freebsd.org>

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

>Number:         29823
>Category:       ports
>Synopsis:       Update port: graphics/aalib
>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:   Fri Aug 17 15:40:02 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.3-RELEASE i386
>Organization:
>Environment:
>Description:
- Fix MASTER_SITES and WWW: line
- Remove USE_AUTOMAKE

Remove file:
files/patch-ac  files/patch-ae

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/graphics/aalib/Makefile graphics/aalib/Makefile
--- /usr/ports/graphics/aalib/Makefile	Sat Mar  3 09:45:13 2001
+++ graphics/aalib/Makefile	Wed Aug 15 06:03:49 2001
@@ -9,14 +9,11 @@
 PORTVERSION=	1.2
 PORTREVISION=	2
 CATEGORIES=	graphics
-MASTER_SITES=	ftp://horac.ta.jcu.cz/pub/aa/ \
-		${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR=	libs/graphics
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR=	aa-project
 
 MAINTAINER=	ports@FreeBSD.org
 
-USE_AUTOMAKE=	yes
-AUTOMAKE=	automake -a -i
 USE_LIBTOOL=	yes
 INSTALLS_SHLIB=	yes
 
@@ -29,7 +26,8 @@
 .endif
 
 post-patch:
-	@${RM} -f ${WRKSRC}/config.cache
-	@${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g;" ${WRKSRC}/configure.in
+	@${PERL} -pi -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/configure
+	@find ${WRKSRC} -name '*.[ch]' | xargs ${PERL} -pi -e \
+		's|<malloc.h>|<stdlib.h>|g'
 
 .include <bsd.port.mk>
diff -urN /usr/ports/graphics/aalib/files/patch-ac graphics/aalib/files/patch-ac
--- /usr/ports/graphics/aalib/files/patch-ac	Sun Jul 16 01:48:04 2000
+++ graphics/aalib/files/patch-ac	Thu Jan  1 09:00:00 1970
@@ -1,37 +0,0 @@
---- configure.in.orig	Wed Oct 29 06:48:40 1997
-+++ configure.in	Wed Jul 12 00:56:59 2000
-@@ -243,10 +243,10 @@
- 	fi
-      fi
-   ])
--  AC_SLANG(/usr/include, slang.h, , -I/usr/include/slang , "slang on /usr/include")
-+  AC_SLANG(/usr/include, slang.h, , -I/usr/include , "slang on /usr/include")
-   AC_SLANG(/usr/include/slang, slang.h, , -I/usr/include/slang , "slang on /usr/include/slang")
--  AC_SLANG(/usr/local/include, slang.h, , -I/usr/local/include/slang , "slang on /usr/local/include")
--  AC_SLANG(/usr/local/include/slang, slang.h, , -I/usr/local/include/slang , "slang on /usr/local/include/slang")
-+  AC_SLANG(%%LOCALBASE%%/include, slang.h, , -I%%LOCALBASE%%/include , "slang on %%LOCALBASE%%/include")
-+  AC_SLANG(%%LOCALBASE%%/include/slang, slang.h, , -I%%LOCALBASE%%/include/slang , "slang on %%LOCALBASE%%/include/slang")
-   if test "$slang_driver" = true; then
-     if test "$force_curses_driver" = false; then
-       echo "Disabling curses driver since slang is available"
-@@ -314,14 +314,14 @@
- then
-     AC_CHECKING("location of curses")
- 
--    AC_NCURSES(/usr/include, ncurses.h, , -I/usr/include/ncurses , "ncurses on /usr/include")
--    AC_NCURSES(/usr/include/ncurses, ncurses.h, , -I/usr/include/ncurses, "ncurses on /usr/include/ncurses")
--    AC_NCURSES(/usr/local/include, ncurses.h, ,-L/usr/local/lib, -I/usr/local/include, "ncurses on /usr/local")
--    AC_NCURSES(/usr/local/include/ncurses, ncurses.h, -L/usr/local/lib -L/usr/local/lib/ncurses, -I/usr/local/include/ncurses, "ncurses on /usr/local/include/ncurses")
-+    AC_NCURSES(/usr/include, ncurses.h, -L/usr/lib, -I/usr/include , "ncurses on /usr/include")
-+    AC_NCURSES(/usr/include/ncurses, ncurses.h, -L/usr/lib, -I/usr/include/ncurses, "ncurses on /usr/include/ncurses")
-+    AC_NCURSES(%%LOCALBASE%%/include, ncurses.h, -L%%LOCALBASE%%/lib, -I%%LOCALBASE%%/include, "ncurses on %%LOCALBASE%%")
-+    AC_NCURSES(%%LOCALBASE%%/include/ncurses, ncurses.h, -L%%LOCALBASE%%/lib -L%%LOCALBASE%%/lib/ncurses, -I%%LOCALBASE%%/include/ncurses, "ncurses on %%LOCALBASE%%/include/ncurses")
- 
--    AC_NCURSES(/usr/local/include/ncurses, curses.h, -L/usr/local/lib, -I/usr/local/include/ncurses -DRENAMED_NCURSES, "renamed ncurses on /usr/local/.../ncurses")
-+    AC_NCURSES(%%LOCALBASE%%/include/ncurses, curses.h, -L%%LOCALBASE%%/lib, -I%%LOCALBASE%%/include/ncurses -DRENAMED_NCURSES, "renamed ncurses on %%LOCALBASE%%/include/ncurses")
- 
--    AC_NCURSES(/usr/include/ncurses, curses.h, , -I/usr/include/ncurses -DRENAMED_NCURSES, "renamed ncurses on /usr/include/ncurses")
-+    AC_NCURSES(/usr/include/ncurses, curses.h, -L/usr/lib, -I/usr/include/ncurses -DRENAMED_NCURSES, "renamed ncurses on /usr/include/ncurses")
-     AC_CURSES(/usr/include, curses.h, , , "curses on /usr/include")
- 
-     dnl
diff -urN /usr/ports/graphics/aalib/files/patch-ae graphics/aalib/files/patch-ae
--- /usr/ports/graphics/aalib/files/patch-ae	Sun Apr  2 06:52:41 2000
+++ graphics/aalib/files/patch-ae	Thu Jan  1 09:00:00 1970
@@ -1,11 +0,0 @@
---- aclocal.m4.orig	Wed Nov 12 05:17:00 1997
-+++ aclocal.m4	Tue Dec  7 03:26:34 1999
-@@ -10,7 +10,7 @@
- dnl AM_INIT_AUTOMAKE(package,version, [no-define])
- 
- AC_DEFUN(AM_INIT_AUTOMAKE,
--[AC_REQUIRE([AM_PROG_INSTALL])
-+[AC_REQUIRE([AC_PROG_INSTALL])
- PACKAGE=[$1]
- AC_SUBST(PACKAGE)
- VERSION=[$2]
diff -urN /usr/ports/graphics/aalib/pkg-descr graphics/aalib/pkg-descr
--- /usr/ports/graphics/aalib/pkg-descr	Sun Jul 16 01:48:04 2000
+++ graphics/aalib/pkg-descr	Wed Aug 15 05:09:16 2001
@@ -6,4 +6,4 @@
 The AA-lib API is designed to be similar to that of other graphics
 libraries so learning its API should be simple.
 
-WWW: http://horac.ta.jcu.cz/aa/aalib/
+WWW: http://aa-project.sourceforge.net/aalib/

>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?200108172238.f7HMc1642147>