Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jun 2013 19:45:37 +0000 (UTC)
From:      Boris Samorodov <bsam@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r320635 - in head/print/xmbibtex: . files
Message-ID:  <201306111945.r5BJjbnI068329@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org>
-#
+# Created by: Thomas Gellekum <tg@FreeBSD.org>
 # $FreeBSD$
-#
 
 PORTNAME=	xmbibtex
 PORTVERSION=	1.7
@@ -13,9 +9,9 @@ MASTER_SITES=	${MASTER_SITE_SUNSITE}
 MASTER_SITE_SUBDIR=	apps/tex
 
 MAINTAINER=	ports@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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306111945.r5BJjbnI068329>