summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <loki_val@gentoo.org>2008-12-14 17:24:04 +0100
committerPeter Alfredsen <loki_val@gentoo.org>2008-12-14 17:24:04 +0100
commit75f6811710a7e65c2aa7f0eefa12be010cdb59ae (patch)
tree49ffc2ef1421305a1f6a4914eb684897426e9721
parentImport wvdial (diff)
downloadloki_val-75f6811710a7e65c2aa7f0eefa12be010cdb59ae.tar.gz
loki_val-75f6811710a7e65c2aa7f0eefa12be010cdb59ae.tar.bz2
loki_val-75f6811710a7e65c2aa7f0eefa12be010cdb59ae.zip
Fix as-needed compilation
(Portage version: 2.2_rc17/git/Linux 2.6.28-rc6 x86_64) (Unsigned Manifest commit)
-rw-r--r--net-dialup/wvdial/Manifest3
-rw-r--r--net-dialup/wvdial/files/wvdial-1.60-as-needed.patch16
-rw-r--r--net-dialup/wvdial/wvdial-1.60.ebuild2
3 files changed, 20 insertions, 1 deletions
diff --git a/net-dialup/wvdial/Manifest b/net-dialup/wvdial/Manifest
index 4af0ac4..acfe184 100644
--- a/net-dialup/wvdial/Manifest
+++ b/net-dialup/wvdial/Manifest
@@ -1,5 +1,6 @@
+AUX wvdial-1.60-as-needed.patch 437 RMD160 a3aa7f65f6df8cc1bcb45c89d64cbcf813b8bb6f SHA1 6a60c58336cf4f11d8fceb7e4d868c69ab6f9ade SHA256 8490c5a19751af4c4858878b2546d836db94aab8f5e1594c4baa8ef79b6060ea
AUX wvdial-1.60-destdir.patch 455 RMD160 64974f8a7acc673e2869734e10096830ff2ba460 SHA1 48f77c1c2370c958f92c53269f927d8c883b8c6c SHA256 be2bb73e20076bc3e278d165459355bd809419326c152a8467a8fb7295519311
DIST wvdial-1.60.tar.gz 100264 RMD160 3e8f46cf81082bb7c829e530b3f9922ff00de9c1 SHA1 d44914065258d316cff28494d4409cd27a07cfa6 SHA256 0c65ea807950fab32e659d1869a7167ff978502bd5d0159dbe9de90eb6c2e16b
-EBUILD wvdial-1.60.ebuild 991 RMD160 e566ddd2caa86c343db2ec0f0e45961288831c83 SHA1 26c6b28a8cdc3ee7740759308d98829caa284664 SHA256 6f49943813bc2cf17482c9e85780c78f0b71d00fa9b7758fe0c1a83d7b4d8231
+EBUILD wvdial-1.60.ebuild 1045 RMD160 ebf3a301174c2b9b168ecbbeb1579976ced4be57 SHA1 5c6314cda07e61da3db405ccc24e4a20b1f22e3d SHA256 c5ee95c9bc8418db7ae6e083ac9691ec353e6307a62feeeea33d5470ca9b1ff0
MISC ChangeLog 6487 RMD160 300ab0123cf30a004700d67394210fabaf72ff70 SHA1 b66f9f6876c3227a021a5e3f145b0682d23acce7 SHA256 5ce06c9329d309da5183b7e929bc2a53fad0e64a1c3f997ceb828434cd6546ba
MISC metadata.xml 163 RMD160 df94c60cc0bb7abe5913b464a33966b142b2fe1e SHA1 d8332605fd22c32f15438bbdf24aa622c3d2738a SHA256 1137a0fd866641cf719b0c2e9e77ca9fa4541a42f2cc851fe4659cf2677acca3
diff --git a/net-dialup/wvdial/files/wvdial-1.60-as-needed.patch b/net-dialup/wvdial/files/wvdial-1.60-as-needed.patch
new file mode 100644
index 0000000..e88ac3a
--- /dev/null
+++ b/net-dialup/wvdial/files/wvdial-1.60-as-needed.patch
@@ -0,0 +1,16 @@
+diff -NrU5 wvdial-1.60.orig/Makefile wvdial-1.60/Makefile
+--- wvdial-1.60.orig/Makefile 2008-12-14 17:18:25.000000000 +0100
++++ wvdial-1.60/Makefile 2008-12-14 17:20:13.000000000 +0100
+@@ -15,10 +15,12 @@
+ ifeq ($(PC_LIBS),)
+ $(error WvStreams does not appear to be installed)
+ endif
+ LIBS+=$(PC_LIBS)
+
++wvdial-LIBS+= -luniconf
++
+ BINDIR=${prefix}/bin
+ MANDIR=${prefix}/share/man
+ PPPDIR=${DESTDIR}/etc/ppp/peers
+
+ include wvrules.mk
diff --git a/net-dialup/wvdial/wvdial-1.60.ebuild b/net-dialup/wvdial/wvdial-1.60.ebuild
index b1090e0..fb3a73b 100644
--- a/net-dialup/wvdial/wvdial-1.60.ebuild
+++ b/net-dialup/wvdial/wvdial-1.60.ebuild
@@ -21,7 +21,9 @@ RDEPEND="${COMMON_DEPEND}
src_unpack() {
unpack ${A}
+ cd "${S}"
epatch "${FILESDIR}/${P}-destdir.patch"
+ epatch "${FILESDIR}/${P}-as-needed.patch"
}
src_install() {