misc/trurl: Update to 0.10

This commit is contained in:
Juraj Lutter 2024-02-20 08:59:09 +01:00
parent a07a1109f9
commit 5787f913d2
3 changed files with 15 additions and 14 deletions

View file

@ -1,6 +1,6 @@
PORTNAME= trurl
DISTVERSIONPREFIX= ${PORTNAME}-
DISTVERSION= 0.9
DISTVERSION= 0.10
CATEGORIES= misc www
MAINTAINER= otis@FreeBSD.org
@ -13,14 +13,13 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libcurl.so:ftp/curl
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR}
USES= python:test
USES= gmake python:test
USE_GITHUB= yes
GH_ACCOUNT= curl
MAKE_ARGS= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-lcurl" \
LDLIBS="-L${LOCALBASE}/lib" \
MANDIR="${PREFIX}/share/man/man1"
ALL_TARGET= ${PORTNAME}
TEST_TARGET= test

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1699483885
SHA256 (curl-trurl-trurl-0.9_GH0.tar.gz) = 848da38c0ea07cd96d6adac4a5e5e141fe26e5bd846039aa350c3ca589a948e0
SIZE (curl-trurl-trurl-0.9_GH0.tar.gz) = 42869
TIMESTAMP = 1708412466
SHA256 (curl-trurl-trurl-0.10_GH0.tar.gz) = e54ee05a1a39f2547fbb39225f9cf5e2608eeaf07ad3f7dbff0a069d060d3c46
SIZE (curl-trurl-trurl-0.10_GH0.tar.gz) = 45268

View file

@ -1,11 +1,13 @@
--- Makefile.orig 2023-06-17 10:52:17 UTC
--- Makefile.orig 2024-02-20 07:14:00 UTC
+++ Makefile
@@ -1,7 +1,6 @@
@@ -24,10 +24,6 @@ OBJS = trurl.o
TARGET = trurl
OBJS = trurl.o
-LDLIBS = $$(curl-config --libs)
-CFLAGS += $$(curl-config --cflags) -W -Wall -Wshadow -Werror -pedantic -g -std=gnu99
+CFLAGS+=-W -Wall -Wshadow -Werror -pedantic -g
MANUAL = trurl.1
PREFIX ?= /usr/local
-ifndef TRURL_IGNORE_CURL_CONFIG
-LDLIBS += $$(curl-config --libs)
-CFLAGS += $$(curl-config --cflags)
-endif
CFLAGS += -W -Wall -Wshadow -Werror -pedantic
CFLAGS += -Wconversion -Wmissing-prototypes -Wwrite-strings -Wsign-compare -Wno-sign-conversion
ifndef NDEBUG