summaryrefslogtreecommitdiff
path: root/graphics/xfig
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-07-07 12:54:28 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-07-07 12:54:28 +0000
commit16a1f893c2daa6273aa6fe1f146b80c43c5f5c69 (patch)
tree4c503a3afdb5bc734200dcc729fd03dba7413317 /graphics/xfig
parentadd ac3dec (diff)
Fix build error
PR: 28408 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Notes
Notes: svn path=/head/; revision=44870
Diffstat (limited to 'graphics/xfig')
-rw-r--r--graphics/xfig/Makefile3
-rw-r--r--graphics/xfig/files/patch-aa16
2 files changed, 18 insertions, 1 deletions
diff --git a/graphics/xfig/Makefile b/graphics/xfig/Makefile
index 6b06f0229ab0..4b7ed2ac1220 100644
--- a/graphics/xfig/Makefile
+++ b/graphics/xfig/Makefile
@@ -30,6 +30,9 @@ MAN1= xfig.1
INSTALL_TARGET= install install.all
.endif
+post-extract:
+ @${CP} ${WRKSRC}/Doc/xfig.man ${WRKSRC}
+
pre-fetch:
.if !defined(WITHOUT_GHOSTSCRIPT)
@${ECHO_MSG} "To build this port without Ghostscript support,"
diff --git a/graphics/xfig/files/patch-aa b/graphics/xfig/files/patch-aa
index 9a884305fa51..f86ecbb2e75d 100644
--- a/graphics/xfig/files/patch-aa
+++ b/graphics/xfig/files/patch-aa
@@ -1,5 +1,5 @@
--- Imakefile.orig Wed May 30 03:32:11 2001
-+++ Imakefile Tue Jun 5 22:59:37 2001
++++ Imakefile Tue Jun 26 00:25:33 2001
@@ -47,8 +47,8 @@
#ifdef USEJPEG
@@ -70,3 +70,17 @@
I18N_SRC = w_i18n.c
I18N_OBJ = w_i18n.o
#endif
+@@ -237,11 +237,13 @@
+ $(HAVE_NO_STRCASECMP) \
+ $(NEED_STRERROR)
+
++/*
+ #ifdef InstallManPage
+ #undef InstallManPage
+ #endif
+ #define InstallManPage(file,dest) @@\
+ InstallManPageLong(Doc/file,dest,file)
++*/
+
+ #ifdef USESMALLICONS
+ DUSESMALLICONS = -DUSE_SMALL_ICONS