diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2012-08-30 20:08:46 +0800 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2012-08-30 20:08:46 +0800 |
commit | bf4b05c948f5c5efd161e91521034791ef848975 (patch) | |
tree | 3833872af7527243c04265599cf649134bcc254d /www | |
parent | 252974831560091bb433ce9f13bbb60c2dc8dee8 (diff) | |
download | freebsd-ports-gnome-bf4b05c948f5c5efd161e91521034791ef848975.tar.gz freebsd-ports-gnome-bf4b05c948f5c5efd161e91521034791ef848975.tar.zst freebsd-ports-gnome-bf4b05c948f5c5efd161e91521034791ef848975.zip |
- Convert to new options framework
- Remove ABI version from LIB_DEPENDS
Approved by: eadler, bapt (mentors, implicit)
Diffstat (limited to 'www')
-rw-r--r-- | www/kannel/Makefile | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/www/kannel/Makefile b/www/kannel/Makefile index 0c4bc412310c..e33ac73fb550 100644 --- a/www/kannel/Makefile +++ b/www/kannel/Makefile @@ -15,7 +15,7 @@ DISTNAME= gateway-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= WAP / SMS Gateway -LIB_DEPENDS= pcre.1:${PORTSDIR}/devel/pcre +LIB_DEPENDS= pcre:${PORTSDIR}/devel/pcre USE_RC_SUBR= kannel USE_GNOME= libxml2 @@ -31,30 +31,28 @@ CONFIGURE_ARGS= --with-cflags="${CPPFLAGS}" --with-libs="${LDFLAGS}" \ MAN1= mtbatch.1 seewbmp.1 wmlsc.1 wmlsdasm.1 MAN8= kannel.8 run_kannel_box.8 -OPTIONS= MYSQL "Enable MySQL support" off \ - PGSQL "Enable PostgreSQL support" off \ - SQLITE3 "Enable SQLite support" off +OPTIONS_DEFINE= MYSQL PGSQL SQLITE3 .include <bsd.port.options.mk> CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} -.if defined(WITH_MYSQL) +.if ${PORT_OPTIONS:MMYSQL} USE_MYSQL= yes CONFIGURE_ARGS+=--with-mysql .else CONFIGURE_ARGS+=--without-mysql .endif -.if defined(WITH_PGSQL) +.if ${PORT_OPTIONS:MPGSQL} USE_PGSQL= yes CONFIGURE_ARGS+=--with-pgsql .else CONFIGURE_ARGS+=--without-pgsql .endif -.if defined(WITH_SQLITE3) +.if ${PORT_OPTIONS:MSQLITE3} USE_SQLITE= 3 CONFIGURE_ARGS+=--with-sqlite3 .else |