Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jun 2001 00:15:18 -0400 (EDT)
From:      Pete Fritchman <petef@electron.databits.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/28027: Fix port mail/glbiff
Message-ID:  <200106110415.f5B4FIN07107@electron.databits.net>

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

>Number:         28027
>Category:       ports
>Synopsis:       Fix port mail/glbiff
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 10 21:20:03 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Pete Fritchman
>Release:        FreeBSD 4.3-STABLE i386
>Organization:
Databits Network Services, Inc.
>Environment:
System: FreeBSD electron.databits.net 4.3-STABLE FreeBSD 4.3-STABLE #6: Sun Jun 10 22:40:03 EDT 2001 root@electron.databits.net:/usr/obj/usr/src/sys/ELECTRON i386

>Description:

mail/glbiff is currently broken because of the whole mesa/pthreads issue.

- ${PTHREAD_LIBS} and ${PTHREAD_CFLAGS} passed to configure and make
- respect existing CXXFLAGS
- properly support NOPORTDOCS (fix plist)
- add pkg-message
- take over as maintainer (and make pkg-descr reflect this)

>How-To-Repeat:

http://bento.freebsd.org/errorlogs/4-full/glbiff-0.3.5.log

>Fix:

(Please remember to cvs add pkg-message, thanks!)

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/mail/glbiff/Makefile,v
retrieving revision 1.15
diff -u -r1.15 Makefile
--- Makefile	2000/08/03 09:25:23	1.15
+++ Makefile	2001/06/11 02:48:10
@@ -11,12 +11,17 @@
 MASTER_SITES=	http://www.dgp.utoronto.ca/~mac/projects/
 EXTRACT_SUFX=	.tgz
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	petef@databits.net
 
 USE_X_PREFIX=	yes
 USE_MESA=	yes
 GNU_CONFIGURE=	yes
 
+CFLAGS+=	${PTHREAD_CFLAGS} ${PTHREAD_LIBS:S/"//g}
+CONFIGURE_ENV=	CFLAGS="${CFLAGS}"
+MAKE_ENV=	PTHREAD_LIBS="${PTHREAD_LIBS}" \
+		PTHREAD_CFLAGS="${PTHREAD_CFLAGS}"
+
 MAN1=		glbiff.1
 MAN5=		glbiffrc.5
 
@@ -32,5 +37,6 @@
 	${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/glbiff
 .endfor
 .endif
+	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.mk>
Index: pkg-descr
===================================================================
RCS file: /home/ncvs/ports/mail/glbiff/pkg-descr,v
retrieving revision 1.4
diff -u -r1.4 pkg-descr
--- pkg-descr	2000/04/30 00:28:09	1.4
+++ pkg-descr	2001/06/11 02:46:12
@@ -4,3 +4,6 @@
 hence tries to mimic some of the features present in it.
 
 WWW: http://www.dgp.toronto.edu/~mac/projects/glbiff.html
+
+- Pete
+petef@databits.net
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/mail/glbiff/pkg-plist,v
retrieving revision 1.2
diff -u -r1.2 pkg-plist
--- pkg-plist	1999/05/03 02:28:40	1.2
+++ pkg-plist	2001/06/11 02:42:51
@@ -1,8 +1,8 @@
 bin/glbiff
-share/doc/glbiff/ChangeLog
-share/doc/glbiff/README
-share/doc/glbiff/README.last-minute
-share/doc/glbiff/TODO
+%%PORTDOCS%%share/doc/glbiff/ChangeLog
+%%PORTDOCS%%share/doc/glbiff/README
+%%PORTDOCS%%share/doc/glbiff/README.last-minute
+%%PORTDOCS%%share/doc/glbiff/TODO
 share/examples/glbiff/dot.glbiffrc.sample
-@dirrm share/doc/glbiff
+%%PORTDOCS%%@dirrm share/doc/glbiff
 @dirrm share/examples/glbiff
Index: files/patch-aa
===================================================================
RCS file: /home/ncvs/ports/mail/glbiff/files/patch-aa,v
retrieving revision 1.1
diff -u -r1.1 patch-aa
--- files/patch-aa	2000/04/30 00:28:07	1.1
+++ files/patch-aa	2001/06/11 02:40:16
@@ -15,8 +15,8 @@
  
 -LIBS		= @LIBS@
 -CXXFLAGS	= $(DEBUG) @CXXFLAGS@ -DVERSION=\"$(VERSION)\"
-+LIBS		= @LIBS@ @X_PRE_LIBS@ @X_LIBS@ @X_EXTRA_LIBS@
-+CXXFLAGS	= $(DEBUG) @CXXFLAGS@ @X_CFLAGS@ @CPPFLAGS@ -DVERSION=\"$(VERSION)\"
++LIBS		= @LIBS@ @X_PRE_LIBS@ @X_LIBS@ @X_EXTRA_LIBS@ ${PTHREAD_LIBS}
++CXXFLAGS	+= $(DEBUG) @CXXFLAGS@ @X_CFLAGS@ @CPPFLAGS@ -DVERSION=\"$(VERSION)\" ${PTHREAD_CFLAGS}
  
  all:		$(PROGRAM)
  
--- /dev/null	Mon Jun 11 00:06:59 2001
+++ pkg-message	Sun Jun 10 22:47:39 2001
@@ -0,0 +1,6 @@
+-----------------------------------------------------------------
+You have installed glbiff, a program to visually represent you of
+new mail.  A sample ~/.glbiffrc file is located at:
+  ${PREFIX}/share/examples/glbiff/dot.glbiffrc.sample
+... and more information is available in the glbiffrc(5) manpage.
+-----------------------------------------------------------------
>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?200106110415.f5B4FIN07107>