aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authoralepulver <alepulver@FreeBSD.org>2006-11-06 10:05:31 +0800
committeralepulver <alepulver@FreeBSD.org>2006-11-06 10:05:31 +0800
commitec89d630b301887d1ef4e2d345f1ee2e3b2af4a1 (patch)
tree9c1a5a0291fc8be42b127a8148d6d57ecdefd17f /net
parente305e74836491462684ebfa5030dc398c045f212 (diff)
downloadfreebsd-ports-gnome-ec89d630b301887d1ef4e2d345f1ee2e3b2af4a1.tar.gz
freebsd-ports-gnome-ec89d630b301887d1ef4e2d345f1ee2e3b2af4a1.tar.zst
freebsd-ports-gnome-ec89d630b301887d1ef4e2d345f1ee2e3b2af4a1.zip
- Mark IGNORE on 4.x.
PR: ports/105178 Submitted by: Mark Foster <mark@foster.cc> (maintainer)
Diffstat (limited to 'net')
-rw-r--r--net/iscsi-target/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/net/iscsi-target/Makefile b/net/iscsi-target/Makefile
index 77bffaf5cfbc..41e8a870ed8e 100644
--- a/net/iscsi-target/Makefile
+++ b/net/iscsi-target/Makefile
@@ -24,6 +24,12 @@ MAN8= iscsi-target.8
USE_RC_SUBR= iscsi_target
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+IGNORE= needs PRIu64 definition in <inttypes.h>
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's|_LDFLAGS= -pthread|_LDFLAGS= ${PTHREAD_CFLAGS}|' ${WRKSRC}/Makefile.in
@@ -51,4 +57,4 @@ post-install:
fi
.endfor
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>