diff options
author | mrg <mrg@pkgsrc.org> | 2003-06-23 11:17:38 +0000 |
---|---|---|
committer | mrg <mrg@pkgsrc.org> | 2003-06-23 11:17:38 +0000 |
commit | 872548dbaee53e052b9d9d001c938c7fa851a0e7 (patch) | |
tree | 6786de751032aa6aa6bad6923bca259f12fe1546 /graphics | |
parent | 5e9166f9bdbd1006356daa1cc348a61368ad0ad1 (diff) | |
download | pkgsrc-872548dbaee53e052b9d9d001c938c7fa851a0e7.tar.gz |
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.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/transcode/Makefile | 21 |
1 files changed, 11 insertions, 10 deletions
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" |