1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00

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.
This commit is contained in:
Adam Weinberger 2014-08-26 17:35:45 +00:00
parent 4f859718a0
commit 5bf2326a1a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=366240
3 changed files with 15 additions and 1 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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