aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-03-21 18:39:49 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-03-21 19:20:04 +0000
commit8aa68a1654d5557482f11971bb01083c0ee90803 (patch)
treeaab7a6d505220ff7ed2025d75e248ba8f866773d
parent4c3786caf1e5bcb7c7806ddf70e843ca900d07ac (diff)
downloadports-8aa68a1654d5557482f11971bb01083c0ee90803.tar.gz
ports-8aa68a1654d5557482f11971bb01083c0ee90803.zip
devel/libinjection: Fix libinjection.so
- Bump PORTREVISION for package change $+ is not recognized by make, therefore the libinjection.so is incomplete.
-rw-r--r--devel/libinjection/Makefile1
-rw-r--r--devel/libinjection/files/patch-Makefile11
2 files changed, 12 insertions, 0 deletions
diff --git a/devel/libinjection/Makefile b/devel/libinjection/Makefile
index 750b3e0424f3..7aa44166964c 100644
--- a/devel/libinjection/Makefile
+++ b/devel/libinjection/Makefile
@@ -1,5 +1,6 @@
PORTNAME= libinjection
PORTVERSION= 3.10.0
+PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= devel
diff --git a/devel/libinjection/files/patch-Makefile b/devel/libinjection/files/patch-Makefile
new file mode 100644
index 000000000000..3469da190083
--- /dev/null
+++ b/devel/libinjection/files/patch-Makefile
@@ -0,0 +1,11 @@
+--- Makefile.orig 2017-05-21 20:44:26 UTC
++++ Makefile
+@@ -63,7 +63,7 @@ libinjection_html5.o: libinjection.h libinjection_html
+ ${CC} ${CFLAGS} -c -o libinjection_html5.o libinjection_html5.c
+
+ ${SHAREDLIB}: ${OBJECTS}
+- $(CC) $+ -shared -lc -o $@
++ $(CC) ${OBJECTS} -shared -lc -o $@
+
+ ${STATICLIB}: ${OBJECTS}
+ rm -f ${STATICLIB}