Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Dec 1997 01:01:40 +0800 (CST)
From:      frankch@waru.life.nthu.edu.tw
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/5339: devel/aalib should be graphics/aalib, also add dependancy
Message-ID:  <199712181701.BAA27168@waru.life.nthu.edu.tw>
Resent-Message-ID: <199712181710.JAA03921@hub.freebsd.org>

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

>Number:         5339
>Category:       ports
>Synopsis:       add dependancy to libslang, change category to graphics
>Confidential:   yes
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 18 09:10:04 PST 1997
>Last-Modified:
>Originator:     Frank Chen Hsiung Chan
>Organization:
Department of Life Science, National Tsing Hua University,
                 HsinChu, Taiwan
>Release:        FreeBSD 2.2.5-STABLE i386
>Environment:

	FreeBSD 2.2.5 STABLE

>Description:

	
	Aalib port should be in graphics category instead of the current
	devel category.
	Also aalib depends on linslang (though it will check the presence
	of X and libslang, it is a bit meanless to use aalib under X).
	It will work without libslang, but then it would be meanless to
	use it.

>How-To-Repeat:

	

>Fix:
	
	
	the patch below change the category, and add the dependancy to
	libslang. Also a small fix to slang header file location.
xxxxxxxxxxxxxxxxxxxxxx cut here xxxxxxxxxxxxxxxxxxxxxxxxxxx
--- Makefile.orig	Fri Dec 19 00:29:25 1997
+++ Makefile	Fri Dec 19 00:30:53 1997
@@ -7,10 +7,12 @@
 #
 
 DISTNAME=		aalib-1.1.6
-CATEGORIES=		devel graphics
+CATEGORIES=		graphics devel
 MASTER_SITES=		ftp://ftp.ta.jcu.cz/pub/aa/development/
 
 MAINTAINER=		andy@icc.surw.chel.su
+
+LIB_DEPENDS=		slang\\.0\\.:${PORTSDIR}/devel/libslang
 
 WRKSRC=			${WRKDIR}/aalib-1.1
 GNU_CONFIGURE=		yes
--- patches/patch-ab.orig	Fri Dec 19 00:59:51 1997
+++ patches/patch-ab	Fri Dec 19 00:57:25 1997
@@ -0,0 +1,22 @@
+--- configure.orig	Fri Dec 19 00:55:02 1997
++++ configure	Fri Dec 19 00:56:55 1997
+@@ -2844,7 +2844,7 @@
+             if test "x$ac_cv_lib_slang_SLsmg_init_smg" = xyes; then 
+ 	      echo "$ac_t""Found slang on /usr/local/include/slang.h" 1>&6
+  	      LIBS="$LIBS "
+-	      CFLAGS="$CFLAGS -I/usr/local/include/slang "
++	      CFLAGS="$CFLAGS -I/usr/local/include "
+               slang_driver=true
+ 	      search_slang=false
+ 	      cat >> confdefs.h <<\EOF
+--- configure.in.orig	Fri Dec 19 00:53:58 1997
++++ configure.in	Fri Dec 19 00:54:55 1997
+@@ -245,7 +245,7 @@
+   ])
+   AC_SLANG(/usr/include, slang.h, , -I/usr/include/slang , "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.h, , -I/usr/local/include , "slang on /usr/local/include")
+   AC_SLANG(/usr/local/include/slang, slang.h, , -I/usr/local/include/slang , "slang on /usr/local/include/slang")
+   if test "$slang_driver" = true; then
+     if test "$force_curses_driver" = false; then
xxxxxxxxxxxxxxxxxxxxxx cut here xxxxxxxxxxxxxxxxxxxxxxxxxxx
>Audit-Trail:
>Unformatted:



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