diff --git a/cad/librnd/Makefile b/cad/librnd/Makefile index 3f1da8ed6866..0754ebf37db9 100644 --- a/cad/librnd/Makefile +++ b/cad/librnd/Makefile @@ -68,15 +68,6 @@ STROKE_CONFIGURE_OFF= --disable-stroke WGET_RUN_DEPENDS= wget:ftp/wget WGET_CONFIGURE_OFF= --disable-lib_wget -.include - -.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) -USES+= llvm:max=15 -CC= clang${LLVM_VERSION} -CPP= clang-cpp${LLVM_VERSION} -CXX= clang++${LLVM_VERSION} -.endif - .include .if ${PORT_OPTIONS:MGTK2} || ${PORT_OPTIONS:MGTK4} || ${PORT_OPTIONS:MMOTIF} @@ -85,6 +76,10 @@ PLIST_SUB+= GUI="" PLIST_SUB+= GUI="@comment " .endif +post-patch: + @${ECHO_CMD} 'USER_CFLAGS += -DSCCONFIG_ACCEPT_IMPLICIT' \ + >> ${WRKSRC}/scconfig/Makefile + pre-configure: ${REINPLACE_CMD} \ -e 's,%%LOCALBASE%%,${LOCALBASE},' \