aboutsummaryrefslogtreecommitdiffstats
path: root/news
diff options
context:
space:
mode:
authorfjoe <fjoe@FreeBSD.org>2003-01-18 20:22:30 +0800
committerfjoe <fjoe@FreeBSD.org>2003-01-18 20:22:30 +0800
commitae747df98c57b3d279a8750761ff2e27c5217cb6 (patch)
tree61b39fb59d7f00b890486527433de95af83e0cb1 /news
parentea5d602c70a08e26fdbae1d2bd30056d62cb18a2 (diff)
downloadfreebsd-ports-gnome-ae747df98c57b3d279a8750761ff2e27c5217cb6.tar.gz
freebsd-ports-gnome-ae747df98c57b3d279a8750761ff2e27c5217cb6.tar.zst
freebsd-ports-gnome-ae747df98c57b3d279a8750761ff2e27c5217cb6.zip
fix build of husky ports if husky-smapi was installed as a package
Diffstat (limited to 'news')
-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>