summaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2005-12-13 18:11:56 +0000
committerthierry <thierry@FreeBSD.org>2005-12-13 18:11:56 +0000
commit3faec048e6bb243753bfe38be50eb2d34ca30a6d (patch)
tree9d8826c2176b35029779afc258e73fc2bb519f95 /cad
parentc10c0656c01f28a1df7b9be91937e72d84a00ce8 (diff)
downloadFreeBSD-ports-3faec048e6bb243753bfe38be50eb2d34ca30a6d.zip
FreeBSD-ports-3faec048e6bb243753bfe38be50eb2d34ca30a6d.tar.gz
- Mark BROKEN on FreeBSD-4;
- Fix build on the cluster (unzip used during post-install). Reported by: pointyhat via Kris
Diffstat (limited to 'cad')
-rw-r--r--cad/kicad-devel/Makefile7
-rw-r--r--cad/kicad/Makefile7
2 files changed, 14 insertions, 0 deletions
diff --git a/cad/kicad-devel/Makefile b/cad/kicad-devel/Makefile
index f922435..3eec667 100644
--- a/cad/kicad-devel/Makefile
+++ b/cad/kicad-devel/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 && \
diff --git a/cad/kicad/Makefile b/cad/kicad/Makefile
index f922435..3eec667 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 && \
OpenPOWER on IntegriCloud