View | Details | Raw Unified | Return to bug 98105 | Differences between
and this patch

Collapse All | Expand All

(-)bsd.port.mk (-2 / +31 lines)
Lines 216-221 Link Here
216
# NOT_FOR_ARCHS_REASON_${ARCH}
216
# NOT_FOR_ARCHS_REASON_${ARCH}
217
#				- Reason why it's not for ${NOT_FOR_ARCHS}s
217
#				- Reason why it's not for ${NOT_FOR_ARCHS}s
218
#
218
#
219
# IA32_BINARY_PORT		- It should be set instead of ONLY_FOR_ARCHS if
220
#				  the given port fetches and installs compiled
221
#				  i386 binaries.
222
#
219
# Dependency checking.  Use these if your port requires another port
223
# Dependency checking.  Use these if your port requires another port
220
# not in the list below.  (Default: empty.)
224
# not in the list below.  (Default: empty.)
221
#
225
#
Lines 1059-1064 Link Here
1059
SORT?=		/usr/bin/sort
1063
SORT?=		/usr/bin/sort
1060
STRIP_CMD?=	/usr/bin/strip
1064
STRIP_CMD?=	/usr/bin/strip
1061
SU_CMD?=	/usr/bin/su root -c
1065
SU_CMD?=	/usr/bin/su root -c
1066
SYSCTL?=	/sbin/sysctl
1062
TAIL?=		/usr/bin/tail
1067
TAIL?=		/usr/bin/tail
1063
TEST?=		test				# Shell builtin
1068
TEST?=		test				# Shell builtin
1064
TR?=		LANG=C /usr/bin/tr
1069
TR?=		LANG=C /usr/bin/tr
Lines 1088-1093 Link Here
1088
# Kludge for pre-3.0 systems
1093
# Kludge for pre-3.0 systems
1089
MACHINE_ARCH?=	i386
1094
MACHINE_ARCH?=	i386
1090
1095
1096
# Check the compatibility layer for amd64/ia64
1097
1098
.if ${ARCH} == "amd64" || ${ARCH} =="ia64"
1099
.if exists(/usr/lib32)
1100
HAVE_COMPAT_IA32_LIBS?=  YES
1101
.endif
1102
.if !defined(HAVE_COMPAT_IA32_KERN)
1103
HAVE_COMPAT_IA32_KERN!= if ${SYSCTL} -a compat.ia32.maxvmem >/dev/null 2>&1; then echo YES; fi
1104
.endif
1105
.endif
1106
1107
.if defined(IA32_BINARY_PORT) && ${ARCH} != "i386"
1108
.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
1109
.if !defined(HAVE_COMPAT_IA32_KERN)
1110
IGNORE= you need a kernel with compiled-in IA32 compatibility to use this port.
1111
.elif !defined(HAVE_COMPAT_IA32_LIBS)
1112
IGNORE= you need the 32-bit libraries installed under /usr/lib32 to use this port.
1113
.endif
1114
.else
1115
IGNORE= you have to use i386 (or compatible) platform to use this port.
1116
.endif
1117
.endif
1118
1119
1091
# Get the operating system type
1120
# Get the operating system type
1092
.if !defined(OPSYS)
1121
.if !defined(OPSYS)
1093
OPSYS!=	${UNAME} -s
1122
OPSYS!=	${UNAME} -s
Lines 1100-1106 Link Here
1100
1129
1101
# Get __FreeBSD_version
1130
# Get __FreeBSD_version
1102
.if !defined(OSVERSION)
1131
.if !defined(OSVERSION)
1103
OSVERSION!=	/sbin/sysctl -n kern.osreldate
1132
OSVERSION!=	${SYSCTL} -n kern.osreldate
1104
.endif
1133
.endif
1105
1134
1106
# Get the object format.
1135
# Get the object format.
Lines 2685-2691 Link Here
2685
.if defined(GNU_CONFIGURE)
2714
.if defined(GNU_CONFIGURE)
2686
# Maximum command line length
2715
# Maximum command line length
2687
.if !defined(CONFIGURE_MAX_CMD_LEN)
2716
.if !defined(CONFIGURE_MAX_CMD_LEN)
2688
CONFIGURE_MAX_CMD_LEN!=	/sbin/sysctl -n kern.argmax
2717
CONFIGURE_MAX_CMD_LEN!=	${SYSCTL} -n kern.argmax
2689
.endif
2718
.endif
2690
CONFIGURE_ARGS+=	--prefix=${PREFIX} ${CONFIGURE_TARGET}
2719
CONFIGURE_ARGS+=	--prefix=${PREFIX} ${CONFIGURE_TARGET}
2691
CONFIGURE_ENV+=		lt_cv_sys_max_cmd_len=${CONFIGURE_MAX_CMD_LEN}
2720
CONFIGURE_ENV+=		lt_cv_sys_max_cmd_len=${CONFIGURE_MAX_CMD_LEN}

Return to bug 98105