diff options
Diffstat (limited to 'ports-mgmt/synth/Makefile')
-rw-r--r-- | ports-mgmt/synth/Makefile | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/ports-mgmt/synth/Makefile b/ports-mgmt/synth/Makefile index 64d17a769c4d..397334652b12 100644 --- a/ports-mgmt/synth/Makefile +++ b/ports-mgmt/synth/Makefile @@ -12,35 +12,20 @@ COMMENT= Custom package repository builder for FreeBSD and DragonFly LICENSE= ISCL LICENSE_FILE= ${WRKSRC}/License.txt -#BUILD_DEPENDS= ${LOCALBASE}/lib/gnat/${IFM}.gpr:misc/${IFM} \ -# ${LOCALBASE}/lib/gnat/${AC}.gpr:devel/${AC} +BUILD_DEPENDS= ${GPR}/ini_file_manager.gpr:misc/ini_file_manager \ + ${GPR}/adacurses.gpr:devel/adacurses USES= ada:6 ncurses:port USE_GITHUB= yes GH_ACCOUNT= jrmarino -GH_PROJECT= synth_external:bundle -GH_TAGNAME= v1.3:bundle -# When framework is moved to Ada6, the ada-util and ini-file-manager -# libraries can be used as prebuilt (switch default.gpr url) -# ncurses:port is required for FreeBSD 11 and DragonFly (base ncurses -# malfunctions in that it won't restore TTY mode correctly) - -COBJFILES= ncurses_compat.o c_varargs_to_ada.o c_threaded_variables.o +GPR= ${LOCALBASE}/lib/gnat post-extract: - @${MV} ${WRKSRC_bundle}/external ${WRKSRC} @${REINPLACE_CMD} -e "s|/usr/local|${LOCALBASE}|" \ - ${WRKSRC}/external/lib/gnat/adacurses.gpr \ ${WRKSRC}/src/definitions.ads do-build: - # To avoid requiring gprbuild as a dependency, compile C manually -.for csrc in ${COBJFILES:R} - (cd ${WRKSRC}/external/include/adacurses && \ - ${SETENV} ${MAKE_ENV} gcc -I. ${CFLAGS} -c ${csrc}.c \ - -o ../../build/adacurses/${csrc}.o) -.endfor (cd ${WRKSRC}/src && ${SETENV} ${MAKE_ENV} \ gcc -c unix_core.c -o ../build/unix_core.o) (cd ${WRKSRC}/synthexec && ${SETENV} ${MAKE_ENV} \ |