- Don't build res_config_odbc if databases/iodbc is installed

- Don't build smsq if devel/popt is installed

ok maintainer
This commit is contained in:
alek 2006-07-18 19:32:54 +00:00
parent 5e411a516f
commit a36e246105
2 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-res_Makefile,v 1.1 2006/07/18 19:32:54 alek Exp $
--- res/Makefile.orig Tue Jul 18 21:09:30 2006
+++ res/Makefile Tue Jul 18 21:09:35 2006
@@ -13,7 +13,7 @@
MODS=res_indications.so res_monitor.so res_adsi.so res_agi.so res_features.so
-ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/odbcinst.h)$(wildcard $(CROSS_COMPILE_TARGET)/usr/local/include/odbcinst.h),)
+ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/odbcinst.h)$(wildcard TURN_OFF$(CROSS_COMPILE_TARGET)/usr/local/include/odbcinst.h),)
ifneq (${OSARCH},FreeBSD)
MODS+=res_config_odbc.so
else

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-utils_Makefile,v 1.1 2006/07/18 19:32:54 alek Exp $
--- utils/Makefile.orig Tue Jul 18 21:17:25 2006
+++ utils/Makefile Tue Jul 18 21:17:33 2006
@@ -22,7 +22,7 @@ endif
TARGET=stereorize streamplayer
-ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/popt.h)$(wildcard -f $(CROSS_COMPILE_TARGET)/usr/local/include/popt.h),)
+ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/popt.h)$(wildcard -f TURN_OFF$(CROSS_COMPILE_TARGET)/usr/local/include/popt.h),)
TARGET+=smsq
endif