remove build dep on ports flex

This commit is contained in:
sthen 2015-11-19 20:17:15 +00:00
parent d69f638e33
commit 412cc39bb3
7 changed files with 13 additions and 27 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.8 2015/08/24 23:31:04 bentley Exp $
# $OpenBSD: Makefile,v 1.9 2015/11/19 20:17:15 sthen Exp $
COMMENT = the programmer's solid 3D CAD modeller
@ -23,7 +23,6 @@ DISTFILES = openscad-${V}.src.tar.gz
MODULES = x11/qt4
BUILD_DEPENDS = devel/bison \
devel/flex \
math/eigen2
LIB_DEPENDS = devel/boost \
devel/gmp \
@ -39,7 +38,6 @@ QMAKE_FLAGS = VERSION=${V}
MAKE_ENV = INSTALL_ROOT=${DESTDIR}
pre-configure:
ln -sf ${LOCALBASE}/bin/gflex ${WRKDIR}/bin/flex
ln -sf ${LOCALBASE}/bin/bison ${WRKDIR}/bin/yacc
do-configure:

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.15 2015/04/24 12:51:23 sthen Exp $
# $OpenBSD: Makefile,v 1.16 2015/11/19 20:17:15 sthen Exp $
ONLY_FOR_ARCHS = amd64 i386
@ -16,8 +16,7 @@ WANTLIB = c pthread
PERMIT_PACKAGE_CDROM = Yes
USE_GMAKE = Yes
BUILD_DEPENDS = devel/bison \
devel/flex
BUILD_DEPENDS = devel/bison
MAKE_FLAGS = CC="${CC}" NOOPT=true
FAKE_FLAGS = DESTDIR=

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.10 2015/06/03 20:17:04 uaa Exp $
# $OpenBSD: Makefile,v 1.11 2015/11/19 20:17:15 sthen Exp $
COMMENT= Device Tree Compiler
@ -16,8 +16,7 @@ PERMIT_PACKAGE_CDROM= Yes
WANTLIB += c
BUILD_DEPENDS= devel/bison \
devel/flex
BUILD_DEPENDS= devel/bison
MAKE_ENV+= V=1
MAKE_FLAGS+= PREFIX="${PREFIX}"
@ -27,7 +26,6 @@ USE_GMAKE= Yes
TEST_TARGET= check
post-extract:
@ln -s ${LOCALBASE}/bin/gflex ${WRKDIR}/bin/flex
@perl -pi -e 's,#! /bin/bash,#!${LOCALBASE}/bin/bash,' \
${WRKSRC}/dtdiff

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.11 2015/11/15 11:55:59 jca Exp $
# $OpenBSD: Makefile,v 1.12 2015/11/19 20:17:16 sthen Exp $
SHARED_ONLY = Yes
@ -26,13 +26,11 @@ WANTLIB += c gcrypt gpg-error
MODULES = devel/gettext
LIB_DEPENDS = security/libgcrypt
BUILD_DEPENDS = devel/bison \
devel/flex
BUILD_DEPENDS = devel/bison
SEPARATE_BUILD = Yes
CONFIGURE_STYLE = gnu
YACC = ${LOCALBASE}/bin/bison -y
CONFIGURE_ARGS = --disable-optimizations
CONFIGURE_ENV = ac_cv_prog_LEX="${LOCALBASE}/bin/gflex"
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.7 2015/05/22 12:38:28 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.8 2015/11/19 20:17:16 sthen Exp $
SHARED_ONLY = Yes
@ -27,8 +27,7 @@ SHARED_LIBS += bluray 2.0 # 9.0
MODULES = converters/libiconv
LIB_DEPENDS = textproc/libxml
BUILD_DEPENDS = devel/bison \
devel/flex
BUILD_DEPENDS = devel/bison
SEPARATE_BUILD = Yes
CONFIGURE_STYLE = gnu
@ -36,6 +35,5 @@ YACC = ${LOCALBASE}/bin/bison -y
CONFIGURE_ARGS += --disable-bdjava \
--disable-doxygen-doc \
--disable-optimizations
CONFIGURE_ENV = ac_cv_prog_LEX="${LOCALBASE}/bin/gflex"
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.43 2015/11/16 20:29:55 sthen Exp $
# $OpenBSD: Makefile,v 1.44 2015/11/19 20:17:15 sthen Exp $
BROKEN-hppa = needs 64-bit atomic ops; __sync_add_and_fetch_4
SHARED_ONLY = Yes
@ -35,9 +35,7 @@ MODULES = devel/cmake \
MODGCC4_ARCHS = sparc64
MODGCC4_LANGS = c++
BUILD_DEPENDS = devel/bison \
devel/flex
# needs flex 2.5.31+
BUILD_DEPENDS = devel/bison
MULTI_PACKAGES = -main -mysql -pgsql
@ -61,7 +59,6 @@ CONFIGURE_ARGS += \
-DCMAKE_INSTALL_SYSCONFDIR:String=${PREFIX}/share/examples \
-DCMAKE_INSTALL_FULL_SYSCONFDIR:String=${WRKINST}${SYSCONFDIR} \
-DCMAKE_INSTALL_LOCALSTATEDIR:String=${LOCALSTATEDIR} \
-DFLEX_EXECUTABLE=${LOCALBASE}/bin/gflex \
-DICINGA2_USER:String=_icinga \
-DICINGA2_GROUP:String=_icinga \
-DICINGA2_GIT_VERSION_INFO:Boolean=OFF \

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.36 2015/11/15 11:55:59 jca Exp $
# $OpenBSD: Makefile,v 1.37 2015/11/19 20:17:15 sthen Exp $
COMMENT= graphical file comparator and merge tool
@ -19,8 +19,7 @@ EXTRACT_SUFX= .tar.bz2
MODULES= lang/python \
x11/qt4
BUILD_DEPENDS= devel/bison \
devel/flex
BUILD_DEPENDS= devel/bison
USE_GMAKE= Yes
# Skip build step from python.port.mk
@ -40,7 +39,6 @@ post-extract:
do-configure:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} \
-f Makefile.bootstrap QMAKE="${LOCALBASE}/bin/qmake4"
cd ${WRKDIR}/bin && ln -s ${LOCALBASE}/bin/gflex flex
do-install:
cd ${WRKSRC}/../bin; \