Hallo Okan,

> Let me know of other issues while I get my stuff together...

With your patch for configure and the following makefile it works. The
port is not finished but it runs without problems with my local cfengine
setup. Unfortunately the binaries are not yet static linked.

Kind regards,


Martijn Rijkeboer


# $OpenBSD: Makefile,v 1.38 2011/09/16 11:41:39 espie Exp $

COMMENT=        GNU system administration tool for networks

DISTNAME=       cfengine-3.3.0
CATEGORIES=     sysutils

HOMEPAGE=       https://www.cfengine.org/

MAINTAINER=     Okan Demirmen <[email protected]>

# GPLv3
PERMIT_PACKAGE_CDROM=   Yes
PERMIT_PACKAGE_FTP=     Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP=   Yes

WANTLIB=                c crypto m pthread pcre qdbm

MASTER_SITES=          
${HOMEPAGE}source-code/download?file=${DISTFILES}&dummy=/

CONFIGURE_STYLE=        gnu

CONFIGURE_ENV+=         CPPFLAGS=-I${LOCALBASE}/include \
                        LDFLAGS=-L${LOCALBASE}/lib

CONFIGURE_ARGS+=        --with-openssl=/usr \
                        --with-pcre \
                        --with-qdbm \
                        --without-mysql \
                        --without-postgresql \
                        --disable-shared \
                        --enable-static \
                        --enable-fhs

USE_GMAKE =             Yes

LIB_DEPENDS=            databases/qdbm devel/pcre

.include <bsd.port.mk>

Reply via email to