diff options
Diffstat (limited to 'x11-misc/dxpc')
-rw-r--r-- | x11-misc/dxpc/Manifest | 3 | ||||
-rw-r--r-- | x11-misc/dxpc/dxpc-3.9.2-r3.ebuild (renamed from x11-misc/dxpc/dxpc-3.9.2-r2.ebuild) | 14 | ||||
-rw-r--r-- | x11-misc/dxpc/files/dxpc-3.9.2-makefile.patch | 54 |
3 files changed, 61 insertions, 10 deletions
diff --git a/x11-misc/dxpc/Manifest b/x11-misc/dxpc/Manifest index 52612a883975..5c76d777005d 100644 --- a/x11-misc/dxpc/Manifest +++ b/x11-misc/dxpc/Manifest @@ -1,3 +1,4 @@ +AUX dxpc-3.9.2-makefile.patch 1563 BLAKE2B ee689a4a73b3e049d11c8a8068ddd00cc5c89cc51babd18aeb5cbed49cff6a82b8e7c90d0869e2392d13a8fdc6e96ef2738776f4ad9c10749150021f4cb7c519 SHA512 e29ea11d544a16be6210b944c4616ed2869570815e4951cac7a583a8cd15f9cf282432ae5440893c25e01bd5d09d515490c10d2c9af4e8306e8d3529bf00bbcc DIST dxpc-3.9.2.tgz 199267 BLAKE2B 99780b35827ce29bdb0a3bb0b1268aea6d03a1b91528023de887820cfea37326f2962c7103c3c079943109a1628fc693039a3b834eee771a7f386d57508d534a SHA512 7dd31f024ca9eae763ec82c424483b4dd4ff667ae70666f3de298e5acb75a5028134914f9c58ab07c16a68de53e170ace455653d83ffe6db290b952ca82fad38 -EBUILD dxpc-3.9.2-r2.ebuild 522 BLAKE2B c7acb76eac71effc93bc210abb545233b76965487f0b4c892d924caaabaa8b33de11e558064ccfc8bf3a9a71d7787d8f13d2674f321b8ee850ea5f09104a8d7a SHA512 00206382623918b3385e921b4ce21ba5dcaeaa6c0a976789df88e4115e52801d09c4a7e1b2309a483fa4b69dba2e26cd02b60540d909ecbd853c7c004857d445 +EBUILD dxpc-3.9.2-r3.ebuild 456 BLAKE2B 31964f70d4bde0f8dfcc50bc1ddf6e84313723e401565d890ef531e87c3fee976947788283bde953153bd424fe849f256e43f7edfa0cd4a6f6a012b7970075c5 SHA512 cd7fb95f9a1a6fcd1e9d3e137eb53d7f7b7ac482b744ca4d9d1454dea8b05303a39cca81529d59141dc89c2f7eceeb6f98b595f2db4e70b21e26d8b77ef404a8 MISC metadata.xml 319 BLAKE2B 991d0f89b643d24c6fcea9a22d130a9e5ca23486e319c42517e2d07ac5f0680ea3989464cc3557c413556dd4b7eb938cea3dffa78031f06f358476cce132aff1 SHA512 536da7cc9bec7c9e42d88e736138d1efd55dc8d89adc74edfc6535f730f01937a7d3228528c6b78b9eb0e29b1807a2d4d4ca202595e2f693009221331981958c diff --git a/x11-misc/dxpc/dxpc-3.9.2-r2.ebuild b/x11-misc/dxpc/dxpc-3.9.2-r3.ebuild index fb1d75627254..bbb2053edca4 100644 --- a/x11-misc/dxpc/dxpc-3.9.2-r2.ebuild +++ b/x11-misc/dxpc/dxpc-3.9.2-r3.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 DESCRIPTION="Differential X Protocol Compressor" HOMEPAGE="http://www.vigor.nu/dxpc/" @@ -10,16 +10,12 @@ SRC_URI="http://www.vigor.nu/dxpc/${P}.tgz" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ppc x86" -IUSE="" -RDEPEND="x11-libs/libXt +RDEPEND=" + x11-libs/libXt >=dev-libs/lzo-2" DEPEND="${RDEPEND} x11-base/xorg-proto" +PATCHES=( "${FILESDIR}"/${P}-makefile.patch ) DOCS=( CHANGES README TODO ) - -src_install() { - emake prefix="${ED%/}"/usr man1dir="${ED%/}"/usr/share/man/man1 install - einstalldocs -} diff --git a/x11-misc/dxpc/files/dxpc-3.9.2-makefile.patch b/x11-misc/dxpc/files/dxpc-3.9.2-makefile.patch new file mode 100644 index 000000000000..691a1504d977 --- /dev/null +++ b/x11-misc/dxpc/files/dxpc-3.9.2-makefile.patch @@ -0,0 +1,54 @@ +--- a/Makefile.in ++++ b/Makefile.in +@@ -20,10 +20,7 @@ + + # We may have separate source and binary trees -- make sure we can find + # dxpcconf.h +-CPPFLAGS = -I. +- +-.C.o: +- $(CXX) $(CPPFLAGS) -c $(CXXFLAGS) $< ++CPPFLAGS += -I. + + TARGET= dxpc$(EXEEXT) + +@@ -53,18 +50,18 @@ + OBJS= $(SRCS:.C=.o) + + $(TARGET): $(OBJS) +- $(CXX) $(CPPFLAGS) $(CXXFLAGS) -o $@ $(OBJS) $(LDFLAGS) $(LIBS) ++ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) + + ifeq ($(MINGW32),true) + $(SECONDTARGET): $(OBJS) +- $(CXX) -mwindows $(CPPFLAGS) $(CXXFLAGS) -o $@ $(OBJS) $(LDFLAGS) $(LIBS) ++ $(CXX) -mwindows $(CXXFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) + endif + + pure_$(TARGET): $(OBJS) +- purify $(CXX) $(CPPFLAGS) $(CXXFLAGS) -o $@ $(OBJS) $(LDFLAGS) $(LIBS) ++ purify $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) + + quant_$(TARGET): $(OBJS) $(OBJS) +- quantify $(CXX) $(CPPFLAGS) $(CXXFLAGS) -o $@ $(OBJS) $(LDFLAGS) $(LIBS) ++ quantify $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) + + depends: + makedepend -f Makefile $(SRCS) +@@ -72,12 +69,12 @@ + install: install.bin install.man + + install.bin: $(TARGET) +- $(srcdir)/mkinstalldirs $(bindir) +- $(INSTALL) $(TARGET) $(bindir)/$(TARGET) ++ $(srcdir)/mkinstalldirs $(DESTDIR)$(bindir) ++ $(INSTALL) $(TARGET) $(DESTDIR)$(bindir)/$(TARGET) + + install.man: +- $(srcdir)/mkinstalldirs $(man1dir) +- $(INSTALL_DATA) $(TARGET).man $(man1dir)/$(TARGET).1 ++ $(srcdir)/mkinstalldirs $(DESTDIR)$(man1dir) ++ $(INSTALL_DATA) $(TARGET).man $(DESTDIR)$(man1dir)/$(TARGET).1 + + clean: + -rm -f *~ *.o $(TARGET) pure_* quant_* *.bak core gmon.out |