diff options
-rw-r--r-- | cad/kicad-devel/Makefile | 7 | ||||
-rw-r--r-- | cad/kicad/Makefile | 7 |
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 && \ |