Skip to content

Commit a8e227b

Browse files
author
adamw
committed
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. git-svn-id: svn+ssh://svn.freebsd.org/ports/head@366240 35697150-7ecd-e111-bb59-0022644237b5
1 parent a2bc79e commit a8e227b

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

lang/oo2c/Makefile

+4
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ DISTNAME= ${PORTNAME}_${BITS}-${PORTVERSION}
1111
MAINTAINER= [email protected]
1212
COMMENT= Optimizing Oberon-2 compiler of University of Kaiserslautern, Germany
1313

14+
LICENSE= GPLv2
15+
1416
BUILD_DEPENDS= xsltproc:${PORTSDIR}/textproc/libxslt
1517
RUN_DEPENDS= libtool:${PORTSDIR}/devel/libtool
1618
LIB_DEPENDS= libgc.so:${PORTSDIR}/devel/boehm-gc
@@ -31,6 +33,8 @@ OPTIONS_DEFINE= DOCS
3133
post-patch:
3234
@${REINPLACE_CMD} 's/dir=@/dir=$${DESTDIR}@/' \
3335
${WRKSRC}/Makefile.config.in
36+
@${REINPLACE_CMD} -e 's|@PERL@|${LOCALBASE}/bin/perl|' \
37+
${WRKSRC}/rsrc/OOC/oobacktrace.in
3438

3539
.include <bsd.port.pre.mk>
3640

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
--- ./rsrc/OOC/oo2crc.xml.mk.in.orig 2014-08-26 13:22:18.819656990 -0400
2+
+++ ./rsrc/OOC/oo2crc.xml.mk.in 2014-08-26 13:22:32.780265990 -0400
3+
@@ -5,7 +5,7 @@
4+
<set name='cppflags'>@CPPFLAGS@</set>
5+
<set name='cflags'>@CFLAGS@</set>
6+
<set name='ldflags'>@LDFLAGS@</set>
7+
- <set name='libs'>-L%libdir%</set>
8+
+ <set name='libs'>-L%libdir% -lm</set>
9+
10+
<set name='libtool'>@LIBTOOL@</set>
11+
<set name='libdir'>%libdir%</set>

lang/oo2c/pkg-plist

-1
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,6 @@ lib/oo2c/sym/liboo2c.Doc
646646
lib/oo2c/sym/liboo2c.Sym
647647
lib/oo2c/sym/libxml.Doc
648648
lib/oo2c/sym/libxml.Sym
649-
%%PORTDOCS%%@dirrm %%DOCSDIR%%
650649
@dirrm lib/oo2c/sym/XML/UnicodeCodec
651650
@dirrm lib/oo2c/sym/XML/Builder
652651
@dirrm lib/oo2c/sym/XML/Basic

0 commit comments

Comments
 (0)