View | Details | Raw Unified | Return to bug 242758
Collapse All | Expand All

(-)Makefile (-4 / +14 lines)
Lines 25-30 Link Here
25
USE_GITHUB=	yes
25
USE_GITHUB=	yes
26
GH_ACCOUNT=	lsof-org
26
GH_ACCOUNT=	lsof-org
27
27
28
OPTIONS_DEFINE_powerpc64=	AIM BOOKE
29
OPTIONS_DEFAULT_powerpc64=	AIM
30
31
AIM_DESC=	Set for AIM hardware
32
AIM_CFLAGS=	-DAIM
33
BOOKE_DESC=	Set for BOOKE hardware
34
BOOKE_CFLAGS=	-DBOOKE
35
36
CFLAGS_powerpc=	-DAIM
37
CFLAGS_powerpcspe=	-DBOOKE
38
28
SHEBANG_FILES=	scripts/sort_res.perl5
39
SHEBANG_FILES=	scripts/sort_res.perl5
29
40
30
.include <bsd.port.pre.mk>
41
.include <bsd.port.pre.mk>
Lines 33-45 Link Here
33
CONFIGURE_ARGS=	-n freebsd
44
CONFIGURE_ARGS=	-n freebsd
34
CONFIGURE_ENV=	LSOF_CC="${CC}" FREEBSD_SYS="${SRC_BASE}/sys"
45
CONFIGURE_ENV=	LSOF_CC="${CC}" FREEBSD_SYS="${SRC_BASE}/sys"
35
46
36
# PPC64 needs -lzpool for reasons unknown.  If someone can 
47
# PPC64 needs -lzpool for reasons unknown.  If someone can
37
# figure out why, I (ler) am all ears.
48
# figure out why, I (ler) am all ears.
38
.if ${ARCH} == powerpc64
49
.if ${ARCH} == powerpc64 || ${ARCH} == powerpc
39
CONFIGURE_ENV+= LSOF_CFGL="-lzpool"
50
CONFIGURE_ENV+=	LSOF_CFGL="-lzpool"
40
. endif
51
. endif
41
52
42
43
.if !exists(${SRC_BASE}/sys/kern/kern_lockf.c)
53
.if !exists(${SRC_BASE}/sys/kern/kern_lockf.c)
44
IGNORE+=		requires kernel sources
54
IGNORE+=		requires kernel sources
45
.endif
55
.endif

Return to bug 242758