summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2005-12-13 18:11:56 +0000
committerThierry Thomas <thierry@FreeBSD.org>2005-12-13 18:11:56 +0000
commitfe092f1c765c79e0e08ab803a19b7fa4a8afea68 (patch)
tree2eaf5169bc673af6a54e45746982bf65b8a259d4 /cad
parent- Permit DISTFILES var be overwritted by slave ports (diff)
- 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 f92243543550..3eec667116cf 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 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 && \