summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Armak <danarmak@gentoo.org>2001-08-08 13:13:30 +0000
committerDan Armak <danarmak@gentoo.org>2001-08-08 13:13:30 +0000
commit122e9ad8f9f088328719b4c6ab79d3afeb26de9a (patch)
treebd96eb35931dc8668021d836682de006fc1b92c7 /app-text
parentchanged GNOMEDIR -> GNOME_PATH, since I don't know of any use of GNOMEDIR, bu... (diff)
downloadgentoo-2-122e9ad8f9f088328719b4c6ab79d3afeb26de9a.tar.gz
gentoo-2-122e9ad8f9f088328719b4c6ab79d3afeb26de9a.tar.bz2
gentoo-2-122e9ad8f9f088328719b4c6ab79d3afeb26de9a.zip
merge-and-pray kind of fix
Diffstat (limited to 'app-text')
-rw-r--r--app-text/gv/files/gv-3.5.8-gentoo-1.diff (renamed from app-text/gv/files/gv-3.5.8-gentoo.diff)0
-rw-r--r--app-text/gv/files/gv-3.5.8-gentoo-2.diff14
-rw-r--r--app-text/gv/gv-3.5.8.ebuild8
3 files changed, 19 insertions, 3 deletions
diff --git a/app-text/gv/files/gv-3.5.8-gentoo.diff b/app-text/gv/files/gv-3.5.8-gentoo-1.diff
index f9e6a1706251..f9e6a1706251 100644
--- a/app-text/gv/files/gv-3.5.8-gentoo.diff
+++ b/app-text/gv/files/gv-3.5.8-gentoo-1.diff
diff --git a/app-text/gv/files/gv-3.5.8-gentoo-2.diff b/app-text/gv/files/gv-3.5.8-gentoo-2.diff
new file mode 100644
index 000000000000..98e60ffea6d4
--- /dev/null
+++ b/app-text/gv/files/gv-3.5.8-gentoo-2.diff
@@ -0,0 +1,14 @@
+--- source/Makefile Wed Aug 8 15:52:11 2001
++++ source/Makefile Wed Aug 8 15:53:59 2001
+@@ -1003,10 +1003,9 @@
+ else (set -x; $(MKDIRHIER) $(DESTDIR)$(GV_BINDIR)); fi
+ $(INSTALL) $(INSTALLFLAGS) $(INSTPGMFLAGS) gv $(DESTDIR)$(GV_BINDIR)/gv
+
+-install.man:: gv.man
++install.man::
+ @if [ -d $(DESTDIR)$(MANDIR) ]; then set +x; \
+ else (set -x; $(MKDIRHIER) $(DESTDIR)$(MANDIR)); fi
+- $(INSTALL) $(INSTALLFLAGS) $(INSTMANFLAGS) gv.man $(DESTDIR)$(MANDIR)/gv.$(MANSUFFIX)
+
+ depend::
+ $(DEPEND) $(DEPENDFLAGS) -- $(ALLDEFINES) $(DEPEND_DEFINES) -- $(SRCS)
diff --git a/app-text/gv/gv-3.5.8.ebuild b/app-text/gv/gv-3.5.8.ebuild
index c8a5a399873e..a315147cf16e 100644
--- a/app-text/gv/gv-3.5.8.ebuild
+++ b/app-text/gv/gv-3.5.8.ebuild
@@ -18,11 +18,9 @@ src_unpack() {
# need to check if this can be done automatically
- # The -gentoo patch is std: installation into /usr
- # instead of /usr/local
unpack ${P}.tar.gz
cd ${S}
- patch -p0 <${FILESDIR}/${P}-gentoo.diff
+ patch -p0 <${FILESDIR}/${P}-gentoo-1.diff
}
@@ -33,6 +31,9 @@ src_compile() {
# emake may not work
try xmkmf
try make Makefiles
+
+ patch -p0 <${FILESDIR}/${P}-gentoo-2.diff
+
try make
}
@@ -43,6 +44,7 @@ src_install () {
try make DESTDIR=${D} install
try make DESTDIR=${D} install.man
try make DESTDIR=${D} install.doc
+ gzip ${D}/usr/man/man1/gv.1x
}