diff options
author | bsam <bsam@FreeBSD.org> | 2013-06-12 03:45:36 +0800 |
---|---|---|
committer | bsam <bsam@FreeBSD.org> | 2013-06-12 03:45:36 +0800 |
commit | 2559eddf19673545e0ffdd5ee9b0d489141d5da2 (patch) | |
tree | 347012cdeadddb126611018bf6e6a958a5d9995a /print | |
parent | f623779a4c42a25300d35bf4534a8b893bc7eb49 (diff) | |
download | freebsd-ports-gnome-2559eddf19673545e0ffdd5ee9b0d489141d5da2.tar.gz freebsd-ports-gnome-2559eddf19673545e0ffdd5ee9b0d489141d5da2.tar.zst freebsd-ports-gnome-2559eddf19673545e0ffdd5ee9b0d489141d5da2.zip |
. fix build with clang;
. trim Makefile headers;
. remove the indefinite article from COMMENT;
. use WRKSRC_SUBDIR instead of WRKSRC.
Diffstat (limited to 'print')
-rw-r--r-- | print/xmbibtex/Makefile | 10 | ||||
-rw-r--r-- | print/xmbibtex/files/patch-refman.cc | 9 |
2 files changed, 12 insertions, 7 deletions
diff --git a/print/xmbibtex/Makefile b/print/xmbibtex/Makefile index d401100489b6..72bcad19303b 100644 --- a/print/xmbibtex/Makefile +++ b/print/xmbibtex/Makefile @@ -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 diff --git a/print/xmbibtex/files/patch-refman.cc b/print/xmbibtex/files/patch-refman.cc index 7a6d77d670c8..cc99b17b773d 100644 --- a/print/xmbibtex/files/patch-refman.cc +++ b/print/xmbibtex/files/patch-refman.cc @@ -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; |