فهرست منبع

* OpenBSD fix,fix

marco 23 سال پیش
والد
کامیت
8e7cd34bf2
2فایلهای تغییر یافته به همراه14 افزوده شده و 0 حذف شده
  1. 12 0
      packages/base/Makefile
  2. 2 0
      packages/base/Makefile.fpc

+ 12 - 0
packages/base/Makefile

@@ -215,6 +215,9 @@ endif
 ifeq ($(OS_TARGET),netbsd)
 override TARGET_DIRS+=inet gdbint libasync mysql ibase postgres oracle
 endif
+ifeq ($(OS_TARGET),openbsd)
+override TARGET_DIRS+=inet gdbint libasync mysql ibase postgres oracle
+endif
 override INSTALL_FPCPACKAGE=y
 override INSTALL_FPCSUBDIR=packages/base
 ifdef REQUIRE_UNITSDIR
@@ -1067,6 +1070,15 @@ TARGET_DIRS_IBASE=1
 TARGET_DIRS_POSTGRES=1
 TARGET_DIRS_ORACLE=1
 endif
+ifeq ($(OS_TARGET),openbsd)
+TARGET_DIRS_INET=1
+TARGET_DIRS_GDBINT=1
+TARGET_DIRS_LIBASYNC=1
+TARGET_DIRS_MYSQL=1
+TARGET_DIRS_IBASE=1
+TARGET_DIRS_POSTGRES=1
+TARGET_DIRS_ORACLE=1
+endif
 ifdef TARGET_DIRS_PASZLIB
 paszlib_all:
 	$(MAKE) -C paszlib all

+ 2 - 0
packages/base/Makefile.fpc

@@ -11,6 +11,8 @@ dirs_win32=inet gdbint \
 dirs_go32v2=gdbint
 dirs_netbsd=inet gdbint libasync \
             mysql ibase postgres oracle
+dirs_openbsd=inet gdbint libasync \
+            mysql ibase postgres oracle
 dirs_freebsd=inet gdbint libasync \
              mysql ibase postgres oracle