summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--news/husky-base/Makefile.inc7
-rw-r--r--news/husky-smapi/Makefile2
2 files changed, 6 insertions, 3 deletions
diff --git a/news/husky-base/Makefile.inc b/news/husky-base/Makefile.inc
index 34232a762d81..867a175a2259 100644
--- a/news/husky-base/Makefile.inc
+++ b/news/husky-base/Makefile.inc
@@ -8,8 +8,13 @@ MASTER_SITES?= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= husky
DIST_SUBDIR= husky
-USE_GMAKE= yes
WRKSRC?= ${WRKDIR}/${PORTNAME}
+.if ${PORTNAME} != "base"
+BUILD_DEPENDS= ${LOCALBASE}/etc/fido/huskymak.cfg:${PORTSDIR}/news/husky-base
+
+USE_GMAKE= yes
+
pre-build:
@${LN} -sf ${LOCALBASE}/etc/fido/huskymak.cfg ${WRKDIR}
+.endif
diff --git a/news/husky-smapi/Makefile b/news/husky-smapi/Makefile
index 831250250342..242e1ba08455 100644
--- a/news/husky-smapi/Makefile
+++ b/news/husky-smapi/Makefile
@@ -13,8 +13,6 @@ DISTNAME= ${PORTNAME}_${PORTVERSION}-${PORTREVISION}
MAINTAINER= fjoe@FreeBSD.org
-BUILD_DEPENDS= ${LOCALBASE}/etc/fido/huskymak.cfg:${PORTSDIR}/news/husky-base
-
INSTALLS_SHLIB= yes
.include <bsd.port.pre.mk>