X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=package%2Fdebian-mingw64%2Frules;h=b2ebb88321404fc6f368043405eb76c4460c87bb;hp=6391527a75506e1660c693da63b20ff844433d4c;hb=97893bbc7248f5e4009f32c3afc7ca575172c5f3;hpb=a2016785091d241ca289fbac5b40bfc7f0432737 diff --git a/package/debian-mingw64/rules b/package/debian-mingw64/rules index 6391527a..b2ebb883 100755 --- a/package/debian-mingw64/rules +++ b/package/debian-mingw64/rules @@ -11,6 +11,8 @@ DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +MY_ABI=6 + BUILD_CC = gcc CC_NORMAL = -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wconversion @@ -19,15 +21,15 @@ CC_STRICT = $(CC_NORMAL) -W -Wbad-function-cast -Wcast-align -Wcast-qual -Wmissi TARGET = x86_64-w64-mingw32 MINGW_BIN = /usr/bin MINGW_TOP = /usr/$(TARGET) -MINGW_TMP = $(CURDIR)/debian/mingw64-ncurses6 +MINGW_TMP = $(CURDIR)/debian/mingw64-ncurses$(MY_ABI) CFLAGS = $(CC_NORMAL) verbose = # -v CONFIG_OPTIONS = \ - --disable-echo \ --disable-db-install \ + --disable-echo \ --disable-getcap \ --disable-hard-tabs \ --disable-leaks \ @@ -35,15 +37,21 @@ CONFIG_OPTIONS = \ --disable-overwrite \ --disable-termcap \ --enable-interop \ + --enable-opaque-curses \ + --enable-opaque-form \ + --enable-opaque-menu \ + --enable-opaque-panel \ --enable-pc-files \ --enable-term-driver \ --enable-warnings \ --enable-widec \ --verbose \ - --with-abi-version=6 \ + --with-abi-version=$(MY_ABI) \ --with-cxx-shared \ --with-develop \ --with-fallbacks=unknown,rxvt \ + --with-tic-path=/usr/bin/tic$(MY_ABI) \ + --with-infocmp-path=/usr/bin/infocmp$(MY_ABI) \ --with-shared \ --with-trace \ --with-xterm-kbs=DEL \ @@ -75,6 +83,7 @@ configure-stamp: --target=$(TARGET) \ --prefix=$(MINGW_TOP) \ --with-build-cc=$(BUILD_CC) \ + --with-pc-suffix=$(MY_ABI) \ --with-pkg-config-libdir=/usr/$(TARGET)/lib/pkgconfig \ $(CONFIG_OPTIONS)