diff options
author | dinoex <dinoex@FreeBSD.org> | 2012-02-21 14:45:25 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2012-02-21 14:45:25 +0800 |
commit | c5252e9fb0115bdefea3896715a4f00d436e7c58 (patch) | |
tree | 9e0377be8ecfce425d5dea25847030f9fa352178 | |
parent | 0cb391c8083a0f6053c98d19b3159a84e6241105 (diff) | |
download | freebsd-ports-gnome-c5252e9fb0115bdefea3896715a4f00d436e7c58.tar.gz freebsd-ports-gnome-c5252e9fb0115bdefea3896715a4f00d436e7c58.tar.zst freebsd-ports-gnome-c5252e9fb0115bdefea3896715a4f00d436e7c58.zip |
build with giflib
-rw-r--r-- | graphics/enfle/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/graphics/enfle/Makefile b/graphics/enfle/Makefile index c5383989bb9b..34bfca699dcc 100644 --- a/graphics/enfle/Makefile +++ b/graphics/enfle/Makefile @@ -19,7 +19,7 @@ LIB_DEPENDS= arc.1:${PORTSDIR}/archivers/libarc \ jasper.4:${PORTSDIR}/graphics/jasper \ jpeg.11:${PORTSDIR}/graphics/jpeg \ mng.1:${PORTSDIR}/graphics/libmng \ - ungif.5:${PORTSDIR}/graphics/libungif \ + gif.5:${PORTSDIR}/graphics/giflib \ png.6:${PORTSDIR}/graphics/png \ theora.0:${PORTSDIR}/multimedia/libtheora RUN_DEPENDS:= ${BUILD_DEPENDS} @@ -77,7 +77,10 @@ post-patch: /LIB/s|-lpthread|${PTHREAD_LIBS}|g ; \ /LIB/s|-lc_r|${PTHREAD_LIBS}|g ; \ /CFLAGS/s|-pthread|${PTHREAD_CFLAGS}|g ; \ - /DLOPEN/s|-ldl||g' ${WRKSRC}/configure + /DLOPEN/s|-ldl||g ; \ + s|-lungif|-lgif|' ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|-lungif|-lgif|' \ + ${WRKSRC}/lib/avcodec/config.mak @${REINPLACE_CMD} -e \ '/enfle -N/s|^|#|g' ${WRKSRC}/src/Makefile.in @${REINPLACE_CMD} -e \ |