aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net-p2p/gift/Makefile1
-rw-r--r--net/gift/Makefile1
2 files changed, 2 insertions, 0 deletions
diff --git a/net-p2p/gift/Makefile b/net-p2p/gift/Makefile
index 3ae75092a920..e3fdd5f76268 100644
--- a/net-p2p/gift/Makefile
+++ b/net-p2p/gift/Makefile
@@ -18,6 +18,7 @@ COMMENT= An OpenFT, Gnutella and FastTrack p2p network client
LIB_DEPENDS= vorbis.3:${PORTSDIR}/audio/libvorbis \
Magick.6:${PORTSDIR}/graphics/ImageMagick
.if defined(WITH_LIBMAGIC)
+BUILD_DEPENDS+= ${LOCALBASE}/include/magic.h:${PORTSDIR}/sysutils/file
LIB_DEPENDS+= magic.1:${PORTSDIR}/sysutils/file
.endif
diff --git a/net/gift/Makefile b/net/gift/Makefile
index 3ae75092a920..e3fdd5f76268 100644
--- a/net/gift/Makefile
+++ b/net/gift/Makefile
@@ -18,6 +18,7 @@ COMMENT= An OpenFT, Gnutella and FastTrack p2p network client
LIB_DEPENDS= vorbis.3:${PORTSDIR}/audio/libvorbis \
Magick.6:${PORTSDIR}/graphics/ImageMagick
.if defined(WITH_LIBMAGIC)
+BUILD_DEPENDS+= ${LOCALBASE}/include/magic.h:${PORTSDIR}/sysutils/file
LIB_DEPENDS+= magic.1:${PORTSDIR}/sysutils/file
.endif