The package built on Ubuntu 22.04 depended on libphobos2-ldc-shared98, which isn't installable on later Ubuntu releases. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019h76aWY9S9eVZcNXLKVbSb
12 lines
389 B
Makefile
12 lines
389 B
Makefile
#!/usr/bin/make -f
|
|
%:
|
|
dh $@
|
|
|
|
# Link druntime and Phobos statically, so the package doesn't depend
|
|
# on libphobos2-ldc-sharedNN, which changes with every Ubuntu release
|
|
override_dh_auto_build:
|
|
dh_auto_build -- LDC2="ldc2 -link-defaultlib-shared=false -defaultlib=phobos2-ldc,druntime-ldc,z"
|
|
|
|
override_dh_auto_install:
|
|
$(MAKE) DESTDIR=$$(pwd)/debian/tmp prefix=/usr install install-scite
|