blob: 614c9cf49584b8d400d6c0c1c00d9395f0e5aab6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# $NetBSD: Makefile.FreeBSD,v 1.2 2008/02/05 22:11:16 hira Exp $
BUILD_DEPENDS+= coreutils>=*:../../sysutils/coreutils
BUILD_DEPENDS+= patch>=*:../../devel/patch
CONFIGURE_ARGS+= --with-gnu-cp=${PREFIX}/bin/gcp
CONFIGURE_ARGS+= --with-gnu-patch=${PREFIX}/bin/gpatch
# libgcc_s.so is required, but FreeBSD does not have it.
USE_PKGSRC_GCC= yes
# Even if a conftest compiled with -Wl,-R${BUILDLINK_PREFIX.gcc34}/lib,
# /libexec/ld-elf.so.1 cannot find libgcc_s.so.1.
pre-configure:
ldconfig -m ${BUILDLINK_PREFIX.gcc34}/lib
pre-build:
ldconfig -m ${BUILDLINK_PREFIX.gcc34}/lib
.if ${MACHINE_ARCH} == "i386"
#OPENOFFICE_DLLSUFFIX= fi
OPENOFFICE_OUTPATH= unxfbsdi
OPENOFFICE_SETFILE= FreeBSDX86
.elif ${MACHINE_ARCH} == "x86_64"
#OPENOFFICE_DLLSUFFIX= fx
OPENOFFICE_OUTPATH= unxfbsdx
OPENOFFICE_SETFILE= FreeBSDAMD
.endif
|