summaryrefslogtreecommitdiff
path: root/net/iscsi-target
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2006-11-06 02:05:31 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2006-11-06 02:05:31 +0000
commit489374e8171e47578f4912b612096668d7bc1315 (patch)
treeff2c13e2f9deb152686f6ccb2ce7268b21082ca8 /net/iscsi-target
parent- upgrade to 0.11.0 (diff)
- Mark IGNORE on 4.x.
PR: ports/105178 Submitted by: Mark Foster <mark@foster.cc> (maintainer)
Diffstat (limited to 'net/iscsi-target')
-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>