View | Details | Raw Unified | Return to bug 76154 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/ports/mail/postfix/scripts/configure.postfix (-4 / +17 lines)
Lines 32-37 Link Here
32
DB40		"Berkeley DB4.0 (required if SASL also built with DB4.0)" "$status_DB40" \
32
DB40		"Berkeley DB4.0 (required if SASL also built with DB4.0)" "$status_DB40" \
33
DB41		"Berkeley DB4.1 (required if SASL also built with DB4.1)" "$status_DB41" \
33
DB41		"Berkeley DB4.1 (required if SASL also built with DB4.1)" "$status_DB41" \
34
DB42		"Berkeley DB4.2 (required if SASL also built with DB4.2)" "$status_DB42" \
34
DB42		"Berkeley DB4.2 (required if SASL also built with DB4.2)" "$status_DB42" \
35
DB43		"Berkeley DB4.3 (required if SASL also built with DB4.3)" "$status_DB43g" \
35
MySQL		"MySQL map lookups (choose version with WITH_MYSQL_VER)" "$status_MySQL" \
36
MySQL		"MySQL map lookups (choose version with WITH_MYSQL_VER)" "$status_MySQL" \
36
PgSQL		"PostgreSQL v7.4 map lookups" "$status_PgSQL" \
37
PgSQL		"PostgreSQL v7.4 map lookups" "$status_PgSQL" \
37
PgSQL73		"PostgreSQL v7.3 map lookups" "$status_PgSQL73" \
38
PgSQL73		"PostgreSQL v7.3 map lookups" "$status_PgSQL73" \
Lines 123-129 Link Here
123
			;;
124
			;;
124
		DB3)
125
		DB3)
125
			if [ "X$BDB_SELECTED" != "X" ]; then
126
			if [ "X$BDB_SELECTED" != "X" ]; then
126
				/usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41 and DB42 options." 5 60 > /dev/stderr
127
				/usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41, DB42 and DB43 options." 5 60 > /dev/stderr
127
				rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
128
				rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
128
				exit 1
129
				exit 1
129
			fi
130
			fi
Lines 135-141 Link Here
135
			;;
136
			;;
136
		DB40)
137
		DB40)
137
			if [ "X$BDB_SELECTED" != "X" ]; then
138
			if [ "X$BDB_SELECTED" != "X" ]; then
138
				/usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41 and DB42 options." 5 60 > /dev/stderr
139
				/usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41, DB42 and DB43 options." 5 60 > /dev/stderr
139
				rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
140
				rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
140
				exit 1
141
				exit 1
141
			fi
142
			fi
Lines 147-153 Link Here
147
			;;
148
			;;
148
		DB41)
149
		DB41)
149
			if [ "X$BDB_SELECTED" != "X" ]; then
150
			if [ "X$BDB_SELECTED" != "X" ]; then
150
				/usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41 and DB42 options." 5 60 > /dev/stderr
151
				/usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41, DB42 and DB43 options." 5 60 > /dev/stderr
151
				rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
152
				rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
152
				exit 1
153
				exit 1
153
			fi
154
			fi
Lines 159-165 Link Here
159
			;;
160
			;;
160
		DB42)
161
		DB42)
161
			if [ "X$BDB_SELECTED" != "X" ]; then
162
			if [ "X$BDB_SELECTED" != "X" ]; then
162
				/usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41 and DB42 options." 5 60 > /dev/stderr
163
				/usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41, DB42 and DB43 options." 5 60 > /dev/stderr
163
				rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
164
				rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
164
				exit 1
165
				exit 1
165
			fi
166
			fi
Lines 168-173 Link Here
168
			echo "POSTFIX_AUXLIBS+=	-L\${LOCALBASE}/lib/db42/ -ldb"
169
			echo "POSTFIX_AUXLIBS+=	-L\${LOCALBASE}/lib/db42/ -ldb"
169
			echo "DB_SUFFIX=	+db42"
170
			echo "DB_SUFFIX=	+db42"
170
			BDB_SELECTED="42"
171
			BDB_SELECTED="42"
172
			;;
173
		DB43)
174
			if [ "X$BDB_SELECTED" != "X" ]; then
175
				/usr/bin/dialog --msgbox "Select exactly one of the DB3, DB40, DB41, DB42 and DB43 options." 5 60 > /dev/stderr
176
				rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
177
				exit 1
178
			fi
179
			echo "LIB_DEPENDS+=	db-4.3.0:\${PORTSDIR}/databases/db43"
180
			echo "POSTFIX_CCARGS+=	-I\${LOCALBASE}/include/db43"
181
			echo "POSTFIX_AUXLIBS+=	-L\${LOCALBASE}/lib/db43/ -ldb"
182
			echo "DB_SUFFIX=	+db43"
183
			BDB_SELECTED="43"
171
			;;
184
			;;
172
		MySQL)
185
		MySQL)
173
			echo "USE_MYSQL=YES"
186
			echo "USE_MYSQL=YES"

Return to bug 76154