diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-08-26 17:35:45 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-08-26 17:35:45 +0000 |
commit | 5bf2326a1a0d709e09be3d0294f47ae8afda7b8f (patch) | |
tree | 8fa63cb201b35e70ddbcf17b95432687c81d7982 /lang/oo2c | |
parent | - Update to 2014.08.24 (diff) |
Fix build.
While here, fix some stage-qa failures. One of the adjunct utilities uses
perl, but it seems silly to build in a run-time perl dependency just for it.
So, set the perl path to something sensible and likely correct.
Notes
Notes:
svn path=/head/; revision=366240
Diffstat (limited to 'lang/oo2c')
-rw-r--r-- | lang/oo2c/Makefile | 4 | ||||
-rw-r--r-- | lang/oo2c/files/patch-rsrc__OOC__oo2crc.xml.mk.in | 11 | ||||
-rw-r--r-- | lang/oo2c/pkg-plist | 1 |
3 files changed, 15 insertions, 1 deletions
diff --git a/lang/oo2c/Makefile b/lang/oo2c/Makefile index 8fb36b99434f..05201d47a9cc 100644 --- a/lang/oo2c/Makefile +++ b/lang/oo2c/Makefile @@ -11,6 +11,8 @@ DISTNAME= ${PORTNAME}_${BITS}-${PORTVERSION} MAINTAINER= johans@FreeBSD.org COMMENT= Optimizing Oberon-2 compiler of University of Kaiserslautern, Germany +LICENSE= GPLv2 + BUILD_DEPENDS= xsltproc:${PORTSDIR}/textproc/libxslt RUN_DEPENDS= libtool:${PORTSDIR}/devel/libtool LIB_DEPENDS= libgc.so:${PORTSDIR}/devel/boehm-gc @@ -31,6 +33,8 @@ OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} 's/dir=@/dir=$${DESTDIR}@/' \ ${WRKSRC}/Makefile.config.in + @${REINPLACE_CMD} -e 's|@PERL@|${LOCALBASE}/bin/perl|' \ + ${WRKSRC}/rsrc/OOC/oobacktrace.in .include <bsd.port.pre.mk> diff --git a/lang/oo2c/files/patch-rsrc__OOC__oo2crc.xml.mk.in b/lang/oo2c/files/patch-rsrc__OOC__oo2crc.xml.mk.in new file mode 100644 index 000000000000..abcd6cea66a3 --- /dev/null +++ b/lang/oo2c/files/patch-rsrc__OOC__oo2crc.xml.mk.in @@ -0,0 +1,11 @@ +--- ./rsrc/OOC/oo2crc.xml.mk.in.orig 2014-08-26 13:22:18.819656990 -0400 ++++ ./rsrc/OOC/oo2crc.xml.mk.in 2014-08-26 13:22:32.780265990 -0400 +@@ -5,7 +5,7 @@ + <set name='cppflags'>@CPPFLAGS@</set> + <set name='cflags'>@CFLAGS@</set> + <set name='ldflags'>@LDFLAGS@</set> +- <set name='libs'>-L%libdir%</set> ++ <set name='libs'>-L%libdir% -lm</set> + + <set name='libtool'>@LIBTOOL@</set> + <set name='libdir'>%libdir%</set> diff --git a/lang/oo2c/pkg-plist b/lang/oo2c/pkg-plist index f1ed1d405b42..d9e81bb743ff 100644 --- a/lang/oo2c/pkg-plist +++ b/lang/oo2c/pkg-plist @@ -646,7 +646,6 @@ lib/oo2c/sym/liboo2c.Doc lib/oo2c/sym/liboo2c.Sym lib/oo2c/sym/libxml.Doc lib/oo2c/sym/libxml.Sym -%%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrm lib/oo2c/sym/XML/UnicodeCodec @dirrm lib/oo2c/sym/XML/Builder @dirrm lib/oo2c/sym/XML/Basic |