svn commit: r320635 - in head/print/xmbibtex: . files

Boris Samorodov bsam at FreeBSD.org
Tue Jun 11 19:45:37 UTC 2013


Author: bsam
Date: Tue Jun 11 19:45:36 2013
New Revision: 320635
URL: http://svnweb.freebsd.org/changeset/ports/320635

Log:
  . fix build with clang;
  . trim Makefile headers;
  . remove the indefinite article from COMMENT;
  . use WRKSRC_SUBDIR instead of WRKSRC.

Modified:
  head/print/xmbibtex/Makefile
  head/print/xmbibtex/files/patch-refman.cc

Modified: head/print/xmbibtex/Makefile
==============================================================================
--- head/print/xmbibtex/Makefile	Tue Jun 11 19:44:50 2013	(r320634)
+++ head/print/xmbibtex/Makefile	Tue Jun 11 19:45:36 2013	(r320635)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	XmBibTeX
-# Date created:				06 Nov 1997
-# Whom:					Thomas Gellekum <tg at FreeBSD.org>
-#
+# Created by: Thomas Gellekum <tg at FreeBSD.org>
 # $FreeBSD$
-#
 
 PORTNAME=	xmbibtex
 PORTVERSION=	1.7
@@ -13,9 +9,9 @@ MASTER_SITES=	${MASTER_SITE_SUNSITE}
 MASTER_SITE_SUBDIR=	apps/tex
 
 MAINTAINER=	ports at FreeBSD.org
-COMMENT=	A reference manager based on the BibTeX file format
+COMMENT=	Reference manager based on the BibTeX file format
 
-WRKSRC=		${WRKDIR}/${DISTNAME}/src
+WRKSRC_SUBDIR=	src
 
 USE_MOTIF=	yes
 USE_IMAKE=	yes

Modified: head/print/xmbibtex/files/patch-refman.cc
==============================================================================
--- head/print/xmbibtex/files/patch-refman.cc	Tue Jun 11 19:44:50 2013	(r320634)
+++ head/print/xmbibtex/files/patch-refman.cc	Tue Jun 11 19:45:36 2013	(r320635)
@@ -1,5 +1,14 @@
 --- src/refman.cc.orig	2007-08-03 16:51:55.000000000 +0200
 +++ refman.cc	2007-08-03 16:52:33.000000000 +0200
+@@ -75,7 +75,7 @@
+ Widget        message;
+ main_menu     mymenu;
+ 
+-
++int
+ main(int argc, char *argv[])
+ {
+   Widget        main_w, menubar, PullDown;
 @@ -260,7 +260,7 @@
    static Widget fsb_load, ftype, fsb_save, fsb_print;
    XmStringTable str_list;


More information about the svn-ports-all mailing list