aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gphoto2
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2007-01-11 01:58:13 +0800
committerpav <pav@FreeBSD.org>2007-01-11 01:58:13 +0800
commit04fc8ecf360f3a8d9e75e0085c749a5d77fea2d3 (patch)
tree98c567b1ef5ef83ac76b3fe549b1131ab4a7b09d /graphics/gphoto2
parenta41e8b32043c27c3aa4813644bcd81cc68fdaad7 (diff)
downloadfreebsd-ports-gnome-04fc8ecf360f3a8d9e75e0085c749a5d77fea2d3.tar.gz
freebsd-ports-gnome-04fc8ecf360f3a8d9e75e0085c749a5d77fea2d3.tar.zst
freebsd-ports-gnome-04fc8ecf360f3a8d9e75e0085c749a5d77fea2d3.zip
- Mark BROKEN on FreeBSD 4
Reported by: krismail
Diffstat (limited to 'graphics/gphoto2')
-rw-r--r--graphics/gphoto2/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/gphoto2/Makefile b/graphics/gphoto2/Makefile
index 45a0b87b804d..5bd6511d2a49 100644
--- a/graphics/gphoto2/Makefile
+++ b/graphics/gphoto2/Makefile
@@ -39,6 +39,12 @@ USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.endif
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+BROKEN= does not compile with gcc 2.95
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREADS_LIBS:S/"//g}|g ; \
s|-g -Wall||g' ${WRKSRC}/configure
@@ -51,4 +57,4 @@ post-install:
.endfor
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>