Index: net/onedrive/Makefile =================================================================== --- net/onedrive/Makefile (revision 496294) +++ net/onedrive/Makefile (working copy) @@ -10,7 +10,6 @@ LICENSE= GPLv3 -BUILD_DEPENDS= ldmd2:lang/ldc LIB_DEPENDS= libcurl.so:ftp/curl \ libinotify.so:devel/libinotify @@ -18,15 +17,18 @@ USE_GITHUB= yes GH_ACCOUNT= skilion +# Cannot be built with dmd1. So omit it from options. OPTIONS_DEFAULT= LDC OPTIONS_SINGLE= DLANG -OPTIONS_SINGLE_DLANG= DMD1 DMD2 LDC +OPTIONS_SINGLE_DLANG= DMD2 LDC -DMD1_DESC= Use lang/dmd1 as D compiler DMD2_DESC= Use lang/dmd2 as D compiler LDC_DESC= Use lang/ldc as D compiler -DMD1_MAKE_ARGS= DC=dmd1 +DMD2_BUILD_DEPENDS= dmd:lang/dmd2 +DMD2_USE= gcc=yes +LDC_BUILD_DEPENDS= ldmd2:lang/ldc + DMD2_MAKE_ARGS= DC=dmd LDC_MAKE_ARGS= DC=ldmd2