FreeBSD Bugzilla – Attachment 128560 Details for
Bug 172426
[PATCH] security/libpreludedb: Converting port to new options framework
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
libpreludedb-0.9.15.3_1.patch
libpreludedb-0.9.15.3_1.patch (text/plain), 2.53 KB, created by
Michael Gmelin
on 2012-10-07 05:20:17 UTC
(
hide
)
Description:
libpreludedb-0.9.15.3_1.patch
Filename:
MIME Type:
Creator:
Michael Gmelin
Created:
2012-10-07 05:20:17 UTC
Size:
2.53 KB
patch
obsolete
>diff -ruN --exclude=CVS ../libpreludedb.orig/Makefile ./Makefile >--- ../libpreludedb.orig/Makefile 2012-10-07 05:01:05.615983731 +0200 >+++ ./Makefile 2012-10-07 05:13:36.966743954 +0200 >@@ -1,7 +1,5 @@ >-# New ports collection makefile for: libpreludedb >-# Date created: 2005-10-14 >-# Whom: Sergei Kolobov <sergei@FreeBSD.org> >-# $FreeBSD: ports/security/libpreludedb/Makefile,v 1.39 2011/08/02 16:22:13 bapt Exp $ >+# Created by: Sergei Kolobov <sergei@FreeBSD.org> >+# $FreeBSD: $ > > PORTNAME= libpreludedb > PORTVERSION= 0.9.15.3 >@@ -23,15 +21,17 @@ > MAN1= preludedb-admin.1 > PORTDOCS= * > >-OPTIONS= PERL "Include Perl bindings" off \ >- PYTHON "Include Python bindings" off \ >- MYSQL "Use MySQL backend" on \ >- PGSQL "Use PostgreSQL backend" off \ >- SQLITE "Use SQLite backend" off >+OPTIONS_DEFINE= DOCS MYSQL PERL PGSQL PYTHON SQLITE >+OPTIONS_DEFAULT=MYSQL >+PERL_DESC= Include Perl bindings >+PYTHON_DESC= Include Python bindings >+MYSQL_DESC= Use MySQL backend >+PGSQL_DESC= Use PostgreSQL backend >+SQLITE_DESC= Use SQLite backend > >-.include <bsd.port.pre.mk> >+.include <bsd.port.options.mk> > >-.if defined(WITH_PERL) >+.if ${PORT_OPTIONS:MPERL} > USE_PERL5= yes > CONFIGURE_ARGS+= --with-perl > PLIST_SUB+= WITH_PERL="" >@@ -40,7 +40,7 @@ > PLIST_SUB+= WITH_PERL="@comment " > .endif > >-.if defined(WITH_PYTHON) >+.if ${PORT_OPTIONS:MPYTHON} > USE_PYTHON= yes > .include "${PORTSDIR}/Mk/bsd.python.mk" > CONFIGURE_ARGS+= --with-python >@@ -50,7 +50,7 @@ > PLIST_SUB+= WITH_PYTHON="@comment " > .endif > >-.if defined(WITH_MYSQL) || exists(${LOCALBASE}/bin/mysql_config) >+.if ${PORT_OPTIONS:MMYSQL} || exists(${LOCALBASE}/bin/mysql_config) > USE_MYSQL= yes > CONFIGURE_ARGS+= --with-mysql > PLIST_SUB+= WITH_MYSQL="" >@@ -59,7 +59,7 @@ > PLIST_SUB+= WITH_MYSQL="@comment " > .endif > >-.if defined(WITH_PGSQL) || exists(${LOCALBASE}/bin/pg_config) >+.if ${PORT_OPTIONS:MPGSQL} || exists(${LOCALBASE}/bin/pg_config) > USE_PGSQL= yes > CONFIGURE_ARGS+= --with-postgresql > PLIST_SUB+= WITH_PGSQL="" >@@ -68,7 +68,7 @@ > PLIST_SUB+= WITH_PGSQL="@comment " > .endif > >-.if defined(WITH_SQLITE) || exists(${LOCALBASE}/lib/libsqlite3.so) >+.if ${PORT_OPTIONS:MSQLITE} || exists(${LOCALBASE}/lib/libsqlite3.so) > USE_SQLITE= yes > CONFIGURE_ARGS+= --with-sqlite3 > PLIST_SUB+= WITH_SQLITE="" >@@ -83,11 +83,11 @@ > .endif > > post-install: >-.if !defined(NOPORTDOCS) >+.if ${PORT_OPTIONS:MDOCS} > @${INSTALL} -d ${DOCSDIR} > ${INSTALL_DATA} ${WRKSRC}/docs/api/html/* ${DOCSDIR} > .endif > > @${INSTALL_MAN} ${WRKSRC}/docs/manpages/*.1 ${MAN1PREFIX}/man/man1/ > >-.include <bsd.port.post.mk> >+.include <bsd.port.mk>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 172426
: 128560