aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authoralepulver <alepulver@FreeBSD.org>2009-07-28 09:32:25 +0800
committeralepulver <alepulver@FreeBSD.org>2009-07-28 09:32:25 +0800
commitfebe0d90a777cbe39c7cb134c49ecba65c77e7d7 (patch)
treec42ade73cbb38c3ac44cd0c85282bbeb68b33f3a /devel
parentb4d980a7c1cb877dbed955c4cb06e4c366aa020c (diff)
downloadfreebsd-ports-gnome-febe0d90a777cbe39c7cb134c49ecba65c77e7d7.tar.gz
freebsd-ports-gnome-febe0d90a777cbe39c7cb134c49ecba65c77e7d7.tar.zst
freebsd-ports-gnome-febe0d90a777cbe39c7cb134c49ecba65c77e7d7.zip
- Add IGNORE on FreeBSD versions prior to 7 because it uses librt.
Reported by: pav
Diffstat (limited to 'devel')
-rw-r--r--devel/fossology/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/fossology/Makefile b/devel/fossology/Makefile
index d79a95ff88a4..0fb0c1fbc353 100644
--- a/devel/fossology/Makefile
+++ b/devel/fossology/Makefile
@@ -64,6 +64,12 @@ MAN1= cp2foss.1 fo_notify.1 fossjobs.1 fosslic.1
FOSS_DB?= ${DATADIR}/repository
LIBDIR= ${PREFIX}/lib # is /usr/lib by default, and affects build
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 700000
+IGNORE= needs at least FreeBSD 7.x, because it uses librt
+.endif
+
post-patch:
# Fix paths (respect PREFIX, etc)
@${GREP} -Rl /bin/bash ${WRKSRC} | ${GREP} -v UnMagic.mime | \
@@ -119,4 +125,4 @@ post-install:
.endfor
@${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>