Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Mar 2000 16:31:09 +0900
From:      "Akinori -Aki- MUSHA" <knu@idaemons.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/17387: lang/librep: fix configure/build error
Message-ID:  <86ya7kadvm.wl@archon.local.idaemons.org>

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

>Number:         17387
>Category:       ports
>Synopsis:       lang/librep: fix configure/build error
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 14 23:40:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     "Akinori -Aki- MUSHA" <knu@idaemons.org>
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
Associated I. Daemons
>Environment:

  FreeBSD archon.local.idaemons.org 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Tue Mar 14 02:15:48 JST 2000     root@archon.local.idaemons.org:/usr/src/sys/compile/ARCHON  i386

>Description:

  The port lang/librep is currently broken, for the configure script
and Makefile cannot find GDBM things.

>How-To-Repeat:

  Just try "make configure".

>Fix:

  Fix the Makefile as follows:


--- Makefile.orig	Wed Mar  8 21:09:46 2000
+++ Makefile	Wed Mar 15 16:18:12 2000
@@ -17,6 +17,7 @@
 USE_NEWGCC=	yes
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_ENV+=	LIBS="-lxpg4"
+CONFIGURE_ENV+=	CPPFLAGS="-I${LOCALBASE}/include" \
+		LIBS="-L${LOCALBASE}/lib -lxpg4"
 
 .include <bsd.port.mk>


and add patches/patch-aa with the following content:


--- configure.orig	Sun Mar  5 21:40:32 2000
+++ configure	Wed Mar 15 16:12:56 2000
@@ -2228,7 +2228,7 @@
 fi
 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
   echo "$ac_t""yes" 1>&6
-  GDBM_LIBS="-lgdbm"
+  GDBM_LIBS="-lgdbm $LIBS"
 	      
 else
   echo "$ac_t""no" 1>&6


-- 
                           /
                          /__  __
                         / )  )  ) )  /
Akinori -Aki- MUSHA aka / (_ /  ( (__(  <knu@idaemons.org>

"If you choose not to decide you still have made a choice."

>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?86ya7kadvm.wl>