From 872548dbaee53e052b9d9d001c938c7fa851a0e7 Mon Sep 17 00:00:00 2001 From: mrg Date: Mon, 23 Jun 2003 11:17:38 +0000 Subject: enable the post-patch target. XXX - it doesn't run "aclocal" because the generated aclocal.m4 is wrong and missing various required parts. the first failure comes from missing HAVE_DLFCN_H macro which causes the build to fail... this of course means it complains about wrong version of automake, but it seems to work for now. --- graphics/transcode/Makefile | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'graphics') diff --git a/graphics/transcode/Makefile b/graphics/transcode/Makefile index d8712c1be03..eb93502927f 100644 --- a/graphics/transcode/Makefile +++ b/graphics/transcode/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2003/06/23 07:09:32 mrg Exp $ +# $NetBSD: Makefile,v 1.2 2003/06/23 11:17:38 mrg Exp $ DISTNAME= transcode-0.6.6 CATEGORIES= graphics @@ -22,14 +22,15 @@ CONFIGURE_ARGS+= --without-libmpeg3 CONFIGURE_ARGS+= --with-lame-includes=${BUILDLINK_PREFIX.lame} CONFIGURE_ARGS+= --with-dvdread-includes=${BUILDLINK_PREFIX.libdvdread} -#post-patch: -# cd ${WRKSRC} && \ -# sed "s|/usr/local|${PREFIX}|g; s|include/libmpeg3|include/mpeg3|g; s| -ldl||g" acinclude.m4 > acinclude.new && \ -# ${MV} acinclude.new acinclude.m4 && \ -# ${ACLOCAL} && \ -# ${AUTOHEADER} && \ -# ${AUTOCONF} -# -cd ${WRKSRC} && ${AUTOMAKE} +# this used to operate on acinclude.m4 and run aclocal, but running +# aclocal here breaks due to missing DLFCN checking +post-patch: + cd ${WRKSRC} && \ + sed "s|/usr/local|${PREFIX}|g; s|include/libmpeg3|include/mpeg3|g; s| -ldl||g" aclocal.m4 > aclocal.new && \ + ${MV} aclocal.new aclocal.m4 && \ + ${AUTOHEADER} && \ + ${AUTOCONF} + -cd ${WRKSRC} && ${AUTOMAKE} post-install: ${LN} -s ../libxvidcore.so ${PREFIX}/lib/transcode/libxvidcore.so @@ -52,5 +53,5 @@ post-install: .include "../../x11/gtk/buildlink2.mk" .include "../../mk/pthread.buildlink2.mk" -#.include "../../mk/automake.mk" +.include "../../mk/automake.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3