ports/net/polyorb/files/patch-Makefile.in
John Marino 74320b1dbf net/polyorb: Upgrade version 2.10.0 (2013) => 2.11.1 (2014)
The annual Adacore release happened!
2014-05-15 13:40:48 +00:00

29 lines
973 B
Text

--- Makefile.in.orig 2013-11-20 14:58:55.000000000 +0000
+++ Makefile.in
@@ -824,10 +824,10 @@ host=@host@
target=@target@
ifeq (${target}, ${host})
- target_prefix=${prefix}
- host_exe_dir=${prefix}/bin
+ target_prefix=${DESTDIR}${prefix}
+ host_exe_dir=${DESTDIR}${prefix}/bin
host_cmdprefix=
- target_exe_dir=${prefix}/bin
+ target_exe_dir=${DESTDIR}${prefix}/bin
else
target_prefix=${prefix}/${target}
@@ -884,10 +884,10 @@ install:
# pre-built and packaged with sources.
if [ -r docs/polyorb_ug.html ]; \
then \
- (cd docs && ${MAKE} install prefix="${prefix}"); \
+ (cd docs && ${MAKE} install prefix="${target_prefix}"); \
elif [ -r $(top_srcdir)/docs/polyorb_ug.html ]; \
then \
- (cd docs && ${MAKE} install prefix="${prefix}" doc_build_dir="$(top_srcdir)/docs/"); \
+ (cd docs && ${MAKE} install prefix="${target_prefix}" doc_build_dir="$(top_srcdir)/docs/"); \
fi
# polyorb-dsa_p-partitions.ali is a special case above.