aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p4/Makefile.inc
blob: 8a86eb4c534112c54747b6dad1860662e28c622b (plain) (blame)
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
27
28
29
30
31
32
# Figure out what to install
.if ${ARCH} == amd64
. if ${OSVERSION} >= 700043
PLATFORM=   freebsd70x86_64
. elif ${OSVERSION} >= 600033
PLATFORM=   freebsd60x86_64
. elif ${OSVERSION} >= 504000
PLATFORM=   freebsd54x86_64
. else
IGNORE=     unsupported OS release, sorry
. endif

.elif ${ARCH} == i386
. if ${OSVERSION} >= 700043
PLATFORM=   freebsd70x86
. elif ${OSVERSION} >= 600033
PLATFORM=   freebsd60x86
. elif ${OSVERSION} >= 504000
PLATFORM=   freebsd54x86
. else
IGNORE=     unsupported OS release, sorry
. endif

.elif ${ARCH} == sparc64
. if ${OSVERSION} >= 700043
LIB_DEPENDS+=   c.6:${PORTSDIR}/misc/compat6x
. endif
PLATFORM=   freebsd61sparc64

.else
IGNORE=     unsupported OS release, sorry
.endif