hsetroot: fix libX11 detection
This commit is contained in:
parent
139700dbd7
commit
51f91323b0
12
srcpkgs/hsetroot/patches/fix-x11-detect.patch
Normal file
12
srcpkgs/hsetroot/patches/fix-x11-detect.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
--- configure.ac 2003-09-05 23:41:38.000000000 +0200
|
||||||
|
+++ configure.ac 2016-05-16 14:11:37.284749099 +0200
|
||||||
|
@@ -38,6 +38,9 @@
|
||||||
|
# Checks for typedefs, structures, and compiler characteristics.
|
||||||
|
AC_C_CONST
|
||||||
|
|
||||||
|
+# Check for X11
|
||||||
|
+AC_CHECK_FILE([/usr/lib/libX11.so], [LDFLAGS="-L/usr/lib -lX11"])
|
||||||
|
+
|
||||||
|
# Check for imlib2
|
||||||
|
AC_CHECK_PROGS(imlib2config_cmd, imlib2-config)
|
||||||
|
if test x$imlib2config_cmd = "x"; then
|
@ -1,10 +1,9 @@
|
|||||||
# Template build file for 'hsetroot'.
|
# Template build file for 'hsetroot'.
|
||||||
LDFLAGS="-lX11"
|
|
||||||
|
|
||||||
pkgname=hsetroot
|
pkgname=hsetroot
|
||||||
version=1.0.2
|
version=1.0.2
|
||||||
revision=5
|
revision=6
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
hostmakedepends="automake libtool pkg-config"
|
||||||
makedepends="libX11-devel imlib2-devel"
|
makedepends="libX11-devel imlib2-devel"
|
||||||
short_desc="A tool which changes X server wallpapers"
|
short_desc="A tool which changes X server wallpapers"
|
||||||
maintainer='Juan RP <xtraeme@voidlinux.eu>'
|
maintainer='Juan RP <xtraeme@voidlinux.eu>'
|
||||||
@ -12,3 +11,7 @@ license="GPL-2"
|
|||||||
homepage="http://www.thegraveyard.org/hsetroot.php"
|
homepage="http://www.thegraveyard.org/hsetroot.php"
|
||||||
distfiles="ftp://ftp.netbsd.org/pub/pkgsrc/distfiles/hsetroot-${version}.tar.gz"
|
distfiles="ftp://ftp.netbsd.org/pub/pkgsrc/distfiles/hsetroot-${version}.tar.gz"
|
||||||
checksum=d6712d330b31122c077bfc712ec4e213abe1fe71ab24b9150ae2774ca3154fd7
|
checksum=d6712d330b31122c077bfc712ec4e213abe1fe71ab24b9150ae2774ca3154fd7
|
||||||
|
|
||||||
|
pre_configure() {
|
||||||
|
autoreconf -if
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user