diff options
author | kevlo <kevlo@FreeBSD.org> | 2000-11-13 14:15:46 +0000 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2000-11-13 14:15:46 +0000 |
commit | 31f248673efd95cc4b96f97c0e61011f15a94938 (patch) | |
tree | 6f2203c3167818b3786b525c41630033b98a04bd /print/xmbibtex | |
parent | b64721adc7579c37a2b94b1698ff0181c4a70dc5 (diff) | |
download | FreeBSD-ports-31f248673efd95cc4b96f97c0e61011f15a94938.zip FreeBSD-ports-31f248673efd95cc4b96f97c0e61011f15a94938.tar.gz |
- Support CXX properly
- Fix compile error in 4-stable
- Fix Imakefile breakage under XFree86 4.x
PR: 22814
Submitted by: Ports Fury
Diffstat (limited to 'print/xmbibtex')
-rw-r--r-- | print/xmbibtex/Makefile | 3 | ||||
-rw-r--r-- | print/xmbibtex/files/patch-aa | 15 | ||||
-rw-r--r-- | print/xmbibtex/files/patch-ac | 18 |
3 files changed, 30 insertions, 6 deletions
diff --git a/print/xmbibtex/Makefile b/print/xmbibtex/Makefile index 7aa368b..777726f 100644 --- a/print/xmbibtex/Makefile +++ b/print/xmbibtex/Makefile @@ -13,8 +13,9 @@ MASTER_SITE_SUBDIR= apps/tex MAINTAINER= ports@FreeBSD.org -USE_MOTIF= yes WRKSRC= ${WRKDIR}/${DISTNAME}/src + +USE_MOTIF= yes USE_IMAKE= yes NO_INSTALL_MANPAGES= yes diff --git a/print/xmbibtex/files/patch-aa b/print/xmbibtex/files/patch-aa index 108bb9a..001203c 100644 --- a/print/xmbibtex/files/patch-aa +++ b/print/xmbibtex/files/patch-aa @@ -1,10 +1,11 @@ ---- Imakefile.orig Sat Oct 18 19:50:16 1997 -+++ Imakefile Wed Feb 18 16:44:18 1998 -@@ -1,8 +1,8 @@ +--- Imakefile.orig Sun Oct 19 02:50:16 1997 ++++ Imakefile Sun Nov 12 20:17:11 2000 +@@ -1,11 +1,11 @@ -SYS_LIBRARIES = -lXm -lXt -lSM -lICE -lX11 -lXpm -lXext -lXmu -+SYS_LIBRARIES = ${MOTIFLIB} -lXt -lSM -lICE -lX11 -lXpm -lXext -lXmu - CC = g++ +-CC = g++ -INCLUDES = -I/usr/include/g++ ++SYS_LIBRARIES = ${MOTIFLIB} -lXt -lSM -lICE -lX11 -lXpm -lXext -lXmu ++CC = $(CXX) +XCOMM INCLUDES = -I/usr/include/g++ -BINDIR = /usr/local/bin @@ -12,3 +13,7 @@ SRCS = biblio.cc mybiblio.cc refman.cc load_cb.cc save_cb.cc print_cb.cc c_refform.cc mystrstr.cc searchall_cb.cc ovid.cc spirs.cc inspec.cc pubmed.cc OBJS = biblio.o mybiblio.o refman.o load_cb.o save_cb.o print_cb.o c_refform.o mystrstr.o searchall_cb.o ovid.o spirs.o inspec.o pubmed.o + +-ComplexProgramTarget(xmbibtex) ++ComplexProgramTargetNoMan(xmbibtex) + InstallAppDefaults(XmBibTeX) diff --git a/print/xmbibtex/files/patch-ac b/print/xmbibtex/files/patch-ac new file mode 100644 index 0000000..74ed938 --- /dev/null +++ b/print/xmbibtex/files/patch-ac @@ -0,0 +1,18 @@ +--- refman.cc.orig Mon Jun 15 15:01:37 1998 ++++ refman.cc Sun Nov 12 20:10:06 2000 +@@ -3,7 +3,6 @@ + /* Main Module */ + /* Last change 15.06.1998 */ + +-#include <X11/Xmu/Editres.h> + #include <Xm/MainW.h> + #include <Xm/RowColumn.h> + #include <Xm/CascadeB.h> +@@ -15,6 +14,7 @@ + #include <Xm/Label.h> + #include <Xm/MessageB.h> + #include <Xm/Text.h> ++#include <X11/Xmu/Editres.h> + #include <stdio.h> + + #include "nrutil.c" |