Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Mar 2002 20:34:48 -0500 (EST)
From:      garrett rooney <rooneg@electricjellyfish.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/36068: [maintainer update] make apr-devel port install with new autoconf
Message-ID:  <200203190134.g2J1Ymh49861@neroon.user.acm.rpi.edu>

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

>Number:         36068
>Category:       ports
>Synopsis:       [maintainer update] make apr-devel port install with new autoconf
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 18 17:50:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     garrett rooney
>Release:        FreeBSD 4.5-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD quicksilver.electricjellyfish.net 4.5-PRERELEASE FreeBSD 4.5-PRERELEASE #0: Sat Jan 5 10:29:30 EST 2002 rooneg@quicksilver.electricjellyfish.net:/usr/obj/usr/src/sys/QUICKSILVER i386

>Description:
	autoconf 2.53 appears to change the way variables are substituted, 
which breaks the install target of apr's makefile.  this patch works around 
the problem.  it's not entirely correct (it breaks some other parts of the 
makefile), but at least it makes the port work again.  this also corrects an 
instance of 'apr-snapshot' (a previous name of the port) that we missed when 
this was first committed, and adds 2 files to the pkg-plist that i missed 
before.
>How-To-Repeat:
	update autoconf to 2.53 and try to install apr-devel.
>Fix:
	apply the following patch:

diff -urPN --exclude=.svn --exclude=work /usr/ports/devel/apr-devel/Makefile apr-devel/Makefile
--- /usr/ports/devel/apr-devel/Makefile	Thu Mar 14 11:39:26 2002
+++ apr-devel/Makefile	Mon Mar 18 19:31:24 2002
@@ -1,8 +1,8 @@
-# New ports collection makefile for: apr-snapshot
+# New ports collection makefile for: apr-devel
 # Date created:		19 February 2002
 # Whom:			Garrett Rooney <rooneg@electricjellyfish.net>
 #
-# $FreeBSD: ports/devel/apr-devel/Makefile,v 1.1 2002/03/14 16:39:26 roberto Exp $
+# $FreeBSD$
 #
 
 PORTNAME=	apr-devel
diff -urPN --exclude=.svn --exclude=work /usr/ports/devel/apr-devel/files/patch-apr-Makefile.in apr-devel/files/patch-apr-Makefile.in
--- /usr/ports/devel/apr-devel/files/patch-apr-Makefile.in	Wed Dec 31 19:00:00 1969
+++ apr-devel/files/patch-apr-Makefile.in	Mon Mar 18 20:15:28 2002
@@ -0,0 +1,11 @@
+--- apr/Makefile.in.orig	Mon Mar 18 20:14:35 2002
++++ apr/Makefile.in	Mon Mar 18 20:11:05 2002
+@@ -42,7 +42,7 @@
+ includedir=@includedir@
+ srcdir=@srcdir@
+ top_srcdir=@top_srcdir@
+-top_blddir=@top_builddir@
++top_blddir=@apr_builddir@
+ 
+ EXPORT_FILES = $(top_srcdir)/include/*.h
+ 
diff -urPN --exclude=.svn --exclude=work /usr/ports/devel/apr-devel/pkg-install apr-devel/pkg-install
--- /usr/ports/devel/apr-devel/pkg-install	Thu Mar 14 11:39:26 2002
+++ apr-devel/pkg-install	Sat Mar 16 18:13:33 2002
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $FreeBSD: ports/devel/apr-devel/pkg-install,v 1.1 2002/03/14 16:39:26 roberto Exp $
+# $FreeBSD$
 
 if [ "$2" != "PRE-INSTALL" ]; then
   exit 0
diff -urPN --exclude=.svn --exclude=work /usr/ports/devel/apr-devel/pkg-plist apr-devel/pkg-plist
--- /usr/ports/devel/apr-devel/pkg-plist	Thu Mar 14 11:39:26 2002
+++ apr-devel/pkg-plist	Mon Mar 18 19:27:05 2002
@@ -54,6 +54,8 @@
 include/apu.h
 include/apu_compat.h
 lib/APRVARS
+lib/apr.exp
+lib/aprutil.exp
 lib/libapr.a
 lib/libapr.la
 lib/libapr.so

>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?200203190134.g2J1Ymh49861>