diff options
author | lioux <lioux@FreeBSD.org> | 2003-05-11 04:30:12 +0000 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2003-05-11 04:30:12 +0000 |
commit | b66b094bfd74efaa8544c187c50bb7398ec40f14 (patch) | |
tree | 54e192314d002b0bcb73e69495ffa9a02ad967f2 /sysutils | |
parent | 074ae5bc360056c7f72dff9b9110df0386bb92b7 (diff) | |
download | FreeBSD-ports-b66b094bfd74efaa8544c187c50bb7398ec40f14.zip FreeBSD-ports-b66b094bfd74efaa8544c187c50bb7398ec40f14.tar.gz |
Unmark BROKEN: 5.x branch after OSVERSION 500041 has getopt_long.
Therefore, do not try using libgnugetopt in such situations
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/vobcopy/Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/sysutils/vobcopy/Makefile b/sysutils/vobcopy/Makefile index 4f766db..0f0e72f 100644 --- a/sysutils/vobcopy/Makefile +++ b/sysutils/vobcopy/Makefile @@ -13,8 +13,6 @@ MASTER_SITES= http://lpn.rnbhq.org/download/ MAINTAINER= lioux@FreeBSD.org COMMENT= Decrypts and copies DVD .vob files -BROKEN= "Does not compile" - LIB_DEPENDS= dvdread.3:${PORTSDIR}/multimedia/libdvdread USE_BZIP2= yes @@ -31,11 +29,20 @@ DOC_FILES= COPYING Changelog README Release-Notes \ TODO \ alternative_programs.txt +.include <bsd.port.pre.mk> + post-patch: @${REINPLACE_CMD} -E -e 's|(fopen\("/etc/)mtab|\1fstab|; \ s|iso9660|cd9660|' ${WRKSRC}/dvd.c @${REINPLACE_CMD} -E -e 's|declare -i i=0||' \ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} +# -CURRENT after 500041 has getopt_long +# do not use libgnugetopt +.if ${OSVERSION} >= 500041 + @${REINPLACE_CMD} -E \ + -e 's|-lgnugetopt||' \ + ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} +.endif post-configure: @${REINPLACE_CMD} -E -e 's|^CC.+||; s|^PREFIX.+||; \ @@ -52,4 +59,4 @@ do-install: .endfor .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |