diff options
Diffstat (limited to 'lang/harbour/Makefile')
-rw-r--r-- | lang/harbour/Makefile | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/lang/harbour/Makefile b/lang/harbour/Makefile index 9027c2f660b8..545f2188bdf4 100644 --- a/lang/harbour/Makefile +++ b/lang/harbour/Makefile @@ -6,15 +6,15 @@ # PORTNAME= harbour -PORTVERSION= 1.0.1 -PORTREVISION= 1 +PORTVERSION= 2.0.0 CATEGORIES= lang MASTER_SITES= SF/${PORTNAME}-project/source/${PORTVERSION} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= m.tsatsenko@gmail.com COMMENT= An open source Clipper-compatible compiler -LIB_DEPENDS= slang.2:${PORTSDIR}/devel/libslang2 +LIB_DEPENDS= slang.2:${PORTSDIR}/devel/libslang2\ + pcre:${PORTSDIR}/devel/pcre BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash RUN_DEPENDS:= ${BUILD_DEPENDS} @@ -32,6 +32,7 @@ HB_BIN_INSTALL= ${LOCALBASE}/bin HB_DOC_INSTALL= ${DOCSDIR} HB_LIB_INSTALL= ${LOCALBASE}/lib HB_INC_INSTALL= ${LOCALBASE}/include +HB_USER_CFLAGS= -fPIC MAKE_ENV= HB_ARCHITECTURE=${HB_ARCH} \ HB_COMPILER=${HB_COMPILER} \ @@ -39,16 +40,14 @@ MAKE_ENV= HB_ARCHITECTURE=${HB_ARCH} \ HB_BIN_INSTALL=${HB_BIN_INSTALL} \ HB_LIB_INSTALL=${HB_LIB_INSTALL} \ HB_INC_INSTALL=${HB_INC_INSTALL} \ - HB_WITHOUT_X11=${HB_WITHOUT_X11} + HB_WITHOUT_X11=${HB_WITHOUT_X11} \ + HB_USER_CFLAGS=${HB_USER_CFLAGS} .if !defined(NOPORTDOCS) MAKE_ENV+= HB_DOC_INSTALL=${HB_DOC_INSTALL} .endif -PORTDOCS= *.txt genhtm.bat genhtm.lnk genhtm.rsp - -do-build: - cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${SH} make_gnu.sh +PORTDOCS= *.txt en-EN pre-install: .if !defined(NOPORTDOCS) @@ -57,9 +56,7 @@ pre-install: .include <bsd.port.pre.mk> -.if ${ARCH} == "amd64" -BROKEN= leaves files behind on deinstall -.elif ${ARCH} == "sparc64" +.if ${ARCH} == "sparc64" BROKEN= does not compile on sparc64: assertion failed .elif ${OSVERSION} > 900007 BROKEN= fails to build with new utmpx |