summaryrefslogtreecommitdiff
path: root/x11/xvidcap/patches/patch-ae
diff options
context:
space:
mode:
Diffstat (limited to 'x11/xvidcap/patches/patch-ae')
-rw-r--r--x11/xvidcap/patches/patch-ae37
1 files changed, 31 insertions, 6 deletions
diff --git a/x11/xvidcap/patches/patch-ae b/x11/xvidcap/patches/patch-ae
index 5b159440bc4..431809ea9cb 100644
--- a/x11/xvidcap/patches/patch-ae
+++ b/x11/xvidcap/patches/patch-ae
@@ -1,8 +1,8 @@
-$NetBSD: patch-ae,v 1.2 2005/12/28 16:37:04 joerg Exp $
+$NetBSD: patch-ae,v 1.3 2006/05/17 05:06:28 reed Exp $
---- src/Makefile.in.orig 2004-02-14 20:06:20.000000000 +0000
-+++ src/Makefile.in
-@@ -177,7 +177,7 @@ target_alias = @target_alias@
+--- src/Makefile.in.orig 2004-02-14 12:06:20.000000000 -0800
++++ src/Makefile.in 2006-05-16 21:57:37.000000000 -0700
+@@ -177,7 +177,7 @@
AM_CFLAGS = @X_CFLAGS@ -DVERSION=\"@PACKAGE_VERSION@\" $(am__append_1)
@@ -11,12 +11,37 @@ $NetBSD: patch-ae,v 1.2 2005/12/28 16:37:04 joerg Exp $
# specific xvidcap / gvidcap
-@@ -195,7 +195,7 @@ xvidcap_LDADD = ../Xw/libXw.a $(am__app
+@@ -195,14 +195,15 @@
@WITHGTK2_TRUE@gvidcap_LDFLAGS = $(AM_LDFLAGS) `pkg-config --libs gtk+-2.0`
@WITHGTK2_TRUE@@WITHGT_TRUE@gvidcap_LDADD = ../gt/libgt.a
-man1_MANS = ../man/xvidcap.man ../man/gvidcap.man
-+man1_MANS = ../man/xvidcap.man
++@WITHGTK2_TRUE@man1_MANS = ../man/gvidcap.man
++@WITHGTK2_FALSE@man1_MANS = ../man/xvidcap.man
EXTRA_DIST = mkresfile.sh
subdir = src
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = $(top_builddir)/config.h
+ CONFIG_CLEAN_FILES =
+-@WITHGTK2_TRUE@bin_PROGRAMS = xvidcap$(EXEEXT) gvidcap$(EXEEXT)
++@WITHGTK2_TRUE@bin_PROGRAMS = gvidcap$(EXEEXT)
+ @WITHGTK2_FALSE@bin_PROGRAMS = xvidcap$(EXEEXT)
+ PROGRAMS = $(bin_PROGRAMS)
+
+@@ -1800,10 +1801,12 @@
+ uninstall-info-am uninstall-man uninstall-man1
+
+
++@WITHGTK2_TRUE@docdir=${datadir}/doc/${PACKAGE_TARNAME}-gtk2-${PACKAGE_VERSION}
++@WITHGTK2_FALSE@docdir=${datadir}/doc/${PACKAGE_TARNAME}_${PACKAGE_VERSION}
+ install-data-hook:
+- mkdir -p ${datadir}/doc/${PACKAGE_TARNAME}_${PACKAGE_VERSION}
+- ./mkresfile.sh > XVidcap.ad && cp XVidcap.ad ${datadir}/doc/${PACKAGE_TARNAME}_${PACKAGE_VERSION}
+- cp ../README ../NEWS ../TODO ../INSTALL ../AUTHORS ../ChangeLog ${datadir}/doc/${PACKAGE_TARNAME}_${PACKAGE_VERSION}
++ mkdir -p ${docdir}
++ cp ../README ../NEWS ../TODO ../INSTALL ../AUTHORS ../ChangeLog ${docdir}
++@WITHGTK2_FALSE@ ./mkresfile.sh > XVidcap.ad && cp XVidcap.ad ${datadir}/doc/${PACKAGE_TARNAME}_${PACKAGE_VERSION}
+
+ uninstall-hook:
+ rm -rf ${datadir}/doc/${PACKAGE_TARNAME}_${PACKAGE_VERSION}