diff options
Diffstat (limited to 'app-misc/vcp')
-rw-r--r-- | app-misc/vcp/Manifest | 3 | ||||
-rw-r--r-- | app-misc/vcp/files/vcp-2.2-tinfo.patch | 11 | ||||
-rw-r--r-- | app-misc/vcp/vcp-2.2-r2.ebuild | 10 |
3 files changed, 17 insertions, 7 deletions
diff --git a/app-misc/vcp/Manifest b/app-misc/vcp/Manifest index 2561d25a7f2f..f4d1f355a995 100644 --- a/app-misc/vcp/Manifest +++ b/app-misc/vcp/Manifest @@ -1,4 +1,5 @@ +AUX vcp-2.2-tinfo.patch 310 BLAKE2B 31ebbb498615f7eb9c0472cd99f85643a44a84e94dcae7d671044cc2aea9001e31e925506958db397516074f45d62ea834b28302448d158ab87038c0208244b8 SHA512 886a20474591c5fee3c70bf978977b2bc19f362dc38898eff6f44365b6edebd2eaff1cf09befc764163d32f0f2a84a80d032647266af0e7fb343b9ee6c5f82d3 DIST vcp-2.2.tar.gz 20075 BLAKE2B 862ed1a816c45e50374e17d387d33bda3d758e155e6a38c1636000ce87de3b54928acaac5f89b0580098acb9b796e803406c9d95dec76c029fdc580d65a496b2 SHA512 3f9f60bce875f16a825b935fd241b11cc75d45b85b66133b27d16b86644c4bbfe69fa5f22571703e0ed6d235498f920a8796f6d74259db51a1abbd626c6f5137 EBUILD vcp-2.2-r1.ebuild 829 BLAKE2B c8df56cefd1edaf23cc6f9a2168438e6a7b6c1f94ea8a778af5e141f23ab3c74f4494445cc4547a6ff3572264864bae65ba849d99fed5eeceae43cd36c8e14e7 SHA512 a25a27c4cfe12343c4aed26eda370effdd57520622a664bf96d8af67642af2f63ac4fa7a746913045fd6ed205094a6444e3c3c2fb88c302199a7245b9249079c -EBUILD vcp-2.2-r2.ebuild 768 BLAKE2B fe6e54d20bfc7e9f97556bd1bc555cf0520ff59ecc76bd6286257646913bace753642d693f2de6168c9db28a4931affe9eeea79c3dd5e012c3e0a879f50714bb SHA512 acaa4de38b3ba59a87022774f66cea48a801211725f0726f302320280cb1c41a65b09604deb5b3d5cdd65e8f5c101da068e5c91a6cf89847038a6d4356cc2db6 +EBUILD vcp-2.2-r2.ebuild 744 BLAKE2B bbd0673f49abf296a0d5980ad5767f168f922369278031f15fcda84d750163c5801cbe67edd57ebec58be4ab2b49f7f26e26b47ef4ed067f638f8381220d6ac9 SHA512 c90a35e2109da34873397376b81a1a4b735297f73b57b74adaa763226654a60bf2ac299f8fed121b929fceb9d669e92cc470756bf7d88655fe649e2e8a8a5939 MISC metadata.xml 265 BLAKE2B 75452ad720a31a08fc0dcd02eec704c18b11bc0660686f9a320b85fc879f55a564ce9c3b6a8c710781b74c5e8eb3d0544c02a042fb35a0b62a5e1491f675296a SHA512 176f814d8c555e8726f36e012367b698e8a19a0662982621029a7f9190beecc5e6798e43c51698dc149364966cdeff7061121e54fa9d4cf2a3559a6ce4904e25 diff --git a/app-misc/vcp/files/vcp-2.2-tinfo.patch b/app-misc/vcp/files/vcp-2.2-tinfo.patch new file mode 100644 index 000000000000..715b6f1a6584 --- /dev/null +++ b/app-misc/vcp/files/vcp-2.2-tinfo.patch @@ -0,0 +1,11 @@ +--- a/Makefile ++++ b/Makefile +@@ -4,7 +4,7 @@ + OBJS = main.o copyall.o copy.o screen.o log.o path.o misc.o color.o + + all: $(OBJS) +- $(CC) $(CFLAGS) -o vcp $(OBJS) -lcurses ++ $(CC) $(CFLAGS) $(LDFLAGS) -o vcp $(OBJS) $(shell $(PKG_CONFIG) --libs ncurses) + + .c.o: + $(CC) $(CFLAGS) -c -I/usr/include/ -o $@ $< diff --git a/app-misc/vcp/vcp-2.2-r2.ebuild b/app-misc/vcp/vcp-2.2-r2.ebuild index a7d1a6493b66..469e80c56dd4 100644 --- a/app-misc/vcp/vcp-2.2-r2.ebuild +++ b/app-misc/vcp/vcp-2.2-r2.ebuild @@ -17,15 +17,13 @@ DEPEND="sys-libs/ncurses:0=" RDEPEND="${DEPEND}" DOCS=( Changelog README INSTALL ) - -src_prepare() { - default - sed -i Makefile -e '/-o vcp/s|$(CFLAGS)|& $(LDFLAGS)|' || die "sed Makefile" -} +PATCHES=( + "${FILESDIR}"/${PN}-2.2-tinfo.patch +) src_compile() { filter-lfs-flags - emake CC="$(tc-getCC)" + emake CC="$(tc-getCC)" PKG_CONFIG="$(tc-getPKG_CONFIG)" } src_install() { |