Vaelatern commented on this pull request.
> @@ -0,0 +1,21 @@
+# Template file for 'sklogw'
+pkgname=sklogw
+version=0.1
+revision=1
+short_desc="A simple cache for dns query"
+maintainer="xant0me <xant0me@openmailbox.org>"
+license="MIT"
+homepage="https://framagit.org/xant0me/cache_dns"
+distfiles="https://framagit.org/xant0me/cache_dns/repository/archive.tar.gz?ref=v${version}>sklogw-${version}.tar.gz"
+checksum="7f28ab7f6b9a1cee4f16a49c3314b72f6bb192c3e4a119d4a3aa0de300e80b04"
+build_style="gnu-makefile"
+make_build_args="CFLAGS=-fPIC"
This really should be already set.
xant0me commented on this pull request.
> @@ -0,0 +1,21 @@
+# Template file for 'sklogw'
+pkgname=sklogw
+version=0.1
+revision=1
+short_desc="A simple cache for dns query"
+maintainer="xant0me <xant0me@openmailbox.org>"
+license="MIT"
+homepage="https://framagit.org/xant0me/cache_dns"
+distfiles="https://framagit.org/xant0me/cache_dns/repository/archive.tar.gz?ref=v${version}>sklogw-${version}.tar.gz"
+checksum="7f28ab7f6b9a1cee4f16a49c3314b72f6bb192c3e4a119d4a3aa0de300e80b04"
+build_style="gnu-makefile"
+make_build_args="CFLAGS=-fPIC"
I put this option because I have an error when I `./xbps-src pkg` saying I should try with -fPIC.
If It's a mistake to do this way I'll add it in the Makefile.
I'll remove the post-extract and set wrksrc. I didn't want to do this way because I would have change it every new version. But the way I do now I still have to change every new version.
Vaelatern commented on this pull request.
> @@ -0,0 +1,21 @@
+# Template file for 'sklogw'
+pkgname=sklogw
+version=0.1
+revision=1
+short_desc="A simple cache for dns query"
+maintainer="xant0me <xant0me@openmailbox.org>"
+license="MIT"
+homepage="https://framagit.org/xant0me/cache_dns"
+distfiles="https://framagit.org/xant0me/cache_dns/repository/archive.tar.gz?ref=v${version}>sklogw-${version}.tar.gz"
+checksum="7f28ab7f6b9a1cee4f16a49c3314b72f6bb192c3e4a119d4a3aa0de300e80b04"
+build_style="gnu-makefile"
+make_build_args="CFLAGS=-fPIC"
The makefiles should respect our CFLAGS and LDFLAGS.
-fPIC is set there.