ports/147709: Remove dependency on devel/freelibiberty in misc/freedialog

James P. Howard, II jh at jameshoward.us
Wed Jun 9 01:40:03 UTC 2010


>Number:         147709
>Category:       ports
>Synopsis:       Remove dependency on devel/freelibiberty in misc/freedialog
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 09 01:40:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     James P. Howard II
>Release:        FreeBSD 8.0-STABLE i386
>Organization:
N/A
>Environment:
System: FreeBSD byzantine.jameshoward.us 8.0-STABLE FreeBSD 8.0-STABLE #4: Sat Jan 23 22:07:32 EST 2010 root at byzantine.jameshoward.us:/usr/obj/usr/src/sys/BYZANTINE i386

>Description:
	This package was made dependant on devel/freelibiberty a decade ago to provide GNU-style long 
	options.  As FreeBSD has includeded this in base for some time, this dependency is no longer
	required.
>How-To-Repeat:
	
>Fix:

diff -Nur freedialog.orig/Makefile freedialog/Makefile
--- freedialog.orig/Makefile	2010-06-08 20:26:33.000000000 -0500
+++ freedialog/Makefile	2010-06-08 20:36:55.000000000 -0500
@@ -8,16 +8,12 @@
 PORTNAME=	freedialog
 PORTVERSION=	0.3
 CATEGORIES=	misc
-MASTER_SITES=	http://www.vocito.com/downloads/software/dialog/
+MASTER_SITES=	ftp://ftp.jameshoward.us/pub/howardjp/dialog/
 DISTNAME=	dialog-${PORTVERSION}
 
-MAINTAINER=	ports at FreeBSD.org
+MAINTAINER=	jh at jameshoward.us
 COMMENT=	An implementation of dialog(1) under a BSD-friendly license
 
-BUILD_DEPENDS=	${LOCALBASE}/lib/libiberty.so:${PORTSDIR}/devel/freelibiberty
-
-CFLAGS+=	-I${LOCALBASE}/include/freelibiberty
-
 MAN1=		dialog.1
 PLIST_FILES=	bin/dialog
 
diff -Nur freedialog.orig/files/patch-aa freedialog/files/patch-aa
--- freedialog.orig/files/patch-aa	2010-06-08 20:26:33.000000000 -0500
+++ freedialog/files/patch-aa	2010-06-08 20:30:30.000000000 -0500
@@ -1,6 +1,6 @@
---- Makefile.orig	Sat Oct 30 19:06:26 1999
-+++ Makefile	Sat Oct 30 19:06:09 1999
-@@ -1,3 +1,8 @@
+--- Makefile.orig	1999-10-30 17:40:50.000000000 -0500
++++ Makefile	2010-06-08 20:29:51.000000000 -0500
+@@ -1,8 +1,13 @@
 +DESTDIR=       ${PREFIX}
 +BINDIR=                /bin
 +MANDIR=                /man/man
@@ -9,3 +9,9 @@
  PROG=	dialog
  SRCS=	dialog.c 
  
+ CFLAGS+= -I/usr/local/include -Wall -pedantic
+ 
+-LDADD=	-ldialog -L/usr/local/lib/ -liberty
++LDADD=	-ldialog
+ 
+ .include <bsd.prog.mk>

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



More information about the freebsd-ports-bugs mailing list