aboutsummaryrefslogtreecommitdiffstats
path: root/cad/kicad
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2005-12-14 02:11:56 +0800
committerthierry <thierry@FreeBSD.org>2005-12-14 02:11:56 +0800
commit3faec048e6bb243753bfe38be50eb2d34ca30a6d (patch)
tree9d8826c2176b35029779afc258e73fc2bb519f95 /cad/kicad
parentc10c0656c01f28a1df7b9be91937e72d84a00ce8 (diff)
downloadfreebsd-ports-gnome-3faec048e6bb243753bfe38be50eb2d34ca30a6d.tar.gz
freebsd-ports-gnome-3faec048e6bb243753bfe38be50eb2d34ca30a6d.tar.zst
freebsd-ports-gnome-3faec048e6bb243753bfe38be50eb2d34ca30a6d.zip
- Mark BROKEN on FreeBSD-4;
- Fix build on the cluster (unzip used during post-install). Reported by: pointyhat via Kris
Diffstat (limited to 'cad/kicad')
-rw-r--r--cad/kicad/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/cad/kicad/Makefile b/cad/kicad/Makefile
index f92243543550..3eec667116cf 100644
--- a/cad/kicad/Makefile
+++ b/cad/kicad/Makefile
@@ -27,6 +27,9 @@ LIB_DEPENDS= wx_gtk2_core-2.6.0:${PORTSDIR}/x11-toolkits/wxgtk26
.if !defined(NOPORTDOCS)
DISTFILES+= doc_components-${DOCVERSION}${EXTRACT_SUFX}:dat
DOCVERSION= 2005-09-27
+. if defined(PACKAGE_BUILDING) # unzip is used during post-install:
+RUN_DEPENDS+= ${UNZIP_CMD}:${PORTSDIR}/archivers/unzip
+. endif
.endif
WRKSRC= ${WRKDIR}/kicad-dev
@@ -54,6 +57,10 @@ RUN_DEPENDS+= konqueror:${PORTSDIR}/x11/kdebase3
RUN_DEPENDS+= xpdf:${PORTSDIR}/graphics/xpdf
.endif
+.if ${OSVERSION} < 500000
+BROKEN= "Does not compile on ${OSVERSION}"
+.endif
+
post-extract:
for f in `${FIND} ${WRKSRC} -name ${MAKEFILE}`; do \
${CP} $$f $$f.dos && \