diff options
Diffstat (limited to 'extra')
-rw-r--r-- | extra/gmpc/PKGBUILD | 3 | ||||
-rw-r--r-- | extra/gnet/PKGBUILD | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/extra/gmpc/PKGBUILD b/extra/gmpc/PKGBUILD index 3866be72f..284c69467 100644 --- a/extra/gmpc/PKGBUILD +++ b/extra/gmpc/PKGBUILD @@ -19,7 +19,8 @@ md5sums=('223aeb000e41697d8fdf54ccedee89d5') build() { cd "${srcdir}/${pkgname}-${pkgver}" sed -i 's|GNOME;AudioVideo;|GTK;AudioVideo;Player;|' data/gmpc.desktop.in - ./configure --prefix=/usr + sed -ri 's/(^gmpc_LDADD.*)/\1 -lm/' src/Makefile.in + ./configure --prefix=/usr LDADD="-lm" make } diff --git a/extra/gnet/PKGBUILD b/extra/gnet/PKGBUILD index c208be302..264534d7d 100644 --- a/extra/gnet/PKGBUILD +++ b/extra/gnet/PKGBUILD @@ -16,6 +16,7 @@ sha1sums=('74a33dd25cc594b874e3a5171795efd99e567387') build() { cd "${srcdir}/${pkgname}-${pkgver}" + find examples -name Makefile.in | xargs sed -ri 's/^(LIBS .*)/\1 -lglib-2.0/' ./configure --prefix=/usr make } |