aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-11-28 06:00:26 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-11-28 06:00:26 +0000
commit0cdb193c88637a6932b807445d29207a9ab6a098 (patch)
treee8540319ca671cbc564131e22534589da43a7d8d /graphics
parent0273a8420e9ef74e89e2908a251471b573545176 (diff)
downloadports-0cdb193c88637a6932b807445d29207a9ab6a098.tar.gz
ports-0cdb193c88637a6932b807445d29207a9ab6a098.zip
Notes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/ogle-gui/Makefile7
-rw-r--r--graphics/ogle-gui/files/patch-Makefile.am10
-rw-r--r--graphics/ogle-gui/files/patch-Makefile.in11
3 files changed, 16 insertions, 12 deletions
diff --git a/graphics/ogle-gui/Makefile b/graphics/ogle-gui/Makefile
index bdbeefd451ec..1c173b9fc609 100644
--- a/graphics/ogle-gui/Makefile
+++ b/graphics/ogle-gui/Makefile
@@ -14,8 +14,7 @@ DISTNAME= ${PORTNAME}_gui-${PORTVERSION}
MAINTAINER= lioux@FreeBSD.org
-BUILD_DEPENDS= automake:${PORTSDIR}/devel/automake \
- ${LOCALBASE}/lib/ogle/libdvdcontrol.so.4:${PORTSDIR}/graphics/ogle
+BUILD_DEPENDS= ${LOCALBASE}/lib/ogle/libdvdcontrol.so.4:${PORTSDIR}/graphics/ogle
LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext \
jpeg.9:${PORTSDIR}/graphics/jpeg
RUN_DEPENDS= ogle:${PORTSDIR}/graphics/ogle
@@ -34,8 +33,12 @@ CONFIGURE_ARGS= --with-dvd-includes=${LOCALBASE}/include \
post-patch:
@${LN} -sf ${LOCALBASE}/bin/libtool ${WRKSRC}
+ @${PERL} -pi -e "s/aclocal/${ACLOCAL}/;s/autoconf/${AUTOCONF}/; \
+ s/autoheader/${AUTOHEADER}/" \
+ ${CONFIGURE_WRKSRC}/aclocal.m4
pre-configure:
+ @${TOUCH} `find -E ${WRKSRC} -regex ".*Makefile\.(am|in)"`
.for file in intl/Makefile.in po/Makefile.in.in
@${ECHO} 'all:' > ${WRKSRC}/${file}
@${ECHO} 'install:' >> ${WRKSRC}/${file}
diff --git a/graphics/ogle-gui/files/patch-Makefile.am b/graphics/ogle-gui/files/patch-Makefile.am
deleted file mode 100644
index ad90adf3b110..000000000000
--- a/graphics/ogle-gui/files/patch-Makefile.am
+++ /dev/null
@@ -1,10 +0,0 @@
---- Makefile.am.orig Mon Oct 22 16:42:37 2001
-+++ Makefile.am Mon Oct 22 16:42:40 2001
-@@ -1,6 +1,6 @@
- ## Process this file with automake to produce Makefile.in
-
--SUBDIRS = intl po macros src doc
-+SUBDIRS = intl po src
-
- install-data-local:
- @$(NORMAL_INSTALL)
diff --git a/graphics/ogle-gui/files/patch-Makefile.in b/graphics/ogle-gui/files/patch-Makefile.in
new file mode 100644
index 000000000000..d8187aafb4b6
--- /dev/null
+++ b/graphics/ogle-gui/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- Makefile.in.orig Wed Nov 28 03:37:29 2001
++++ Makefile.in Wed Nov 28 03:37:59 2001
+@@ -121,7 +121,7 @@
+ cxxflags_set = @cxxflags_set@
+ l = @l@
+
+-SUBDIRS = intl po macros src doc
++SUBDIRS = intl po src
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = config.h