aboutsummaryrefslogtreecommitdiffstats
path: root/news/husky-base-devel/Makefile.inc
blob: 74a4d52b14a10e7dae96d9ab3341e32be054a003 (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
#
# $FreeBSD$
#

PKGNAMEPREFIX=  husky-
PKGNAMESUFFIX=  -devel
DIST_SUBDIR=    husky

WRKSRC?=    ${WRKDIR}/${PORTNAME}
ONLY_FOR_ARCHS= i386

.if ${PORTNAME} != "base"
BUILD_DEPENDS=  ${LOCALBASE}/etc/fido/huskymak.cfg:${PORTSDIR}/news/husky-base-devel

USES+=      gmake

MAKE_ARGS+= PREFIX="${PREFIX}" \
        CC="${CC}" CXX="${CXX}" GPP="${CXX}" MKSHARED="${CC}" \
        OPTCFLAGS="-c ${CFLAGS}" WARNFLAGS=""

pre-build:
    @${LN} -sf ${LOCALBASE}/etc/fido/huskymak.cfg ${WRKDIR}
.endif