Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F173418150
D23261.id66997.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D23261.id66997.diff
View Options
Index: net-mgmt/pmacct/Makefile
===================================================================
--- net-mgmt/pmacct/Makefile
+++ net-mgmt/pmacct/Makefile
@@ -37,41 +37,36 @@
.include <bsd.port.options.mk>
+SQLDOC= "@comment "
+
.if ${PORT_OPTIONS:MMYSQL}
USES+= mysql
CONFIGURE_ARGS+=--enable-mysql
-PLIST_SUB+= WITH_MYSQL=""
-PLIST_SUB+= SQLDOC=""
+SQLDOC= ""
.else
CONFIGURE_ARGS+=--disable-mysql
-PLIST_SUB+= WITH_MYSQL="@comment "
-PLIST_SUB+= SQLDOC="@comment "
.endif
.if ${PORT_OPTIONS:MPGSQL}
USES+= pgsql
WANT_PGSQL= client
CONFIGURE_ARGS+=--enable-pgsql
-PLIST_SUB+= WITH_PGSQL=""
-PLIST_SUB+= SQLDOC=""
+SQLDOC= ""
.else
CONFIGURE_ARGS+=--disable-pgsql
-PLIST_SUB+= WITH_PGSQL="@comment "
-PLIST_SUB+= SQLDOC="@comment "
.endif
.if ${PORT_OPTIONS:MSQLITE3}
USES+= pkgconfig sqlite
CONFIGURE_ARGS+=--enable-sqlite3 \
--with-sqlite3-includes=${LOCALBASE}/include
-PLIST_SUB+= WITH_SQLITE3=""
-PLIST_SUB+= SQLDOC=""
+SQLDOC= ""
.else
CONFIGURE_ARGS+=--disable-sqlite3
-PLIST_SUB+= WITH_SQLITE3="@comment "
-PLIST_SUB+= SQLDOC="@comment "
.endif
+PLIST_SUB+= SQLDOC=${SQLDOC}
+
.if ${PORT_OPTIONS:MLAYER2}
CONFIGURE_ARGS+=--enable-l2
.else
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Sep 26, 8:01 PM (21 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39690234
Default Alt Text
D23261.id66997.diff (1 KB)
Attached To
Mode
D23261: net-mgmt/pmacct: Rework/fix plist logic
Attached
Detach File
Event Timeline
Log In to Comment