git: 5bb197ad1bbe - main - databases/postgis-jdbc: Fix install data path
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 26 Jul 2025 16:06:00 UTC
The branch main has been updated by rhurlin:
URL: https://cgit.FreeBSD.org/ports/commit/?id=5bb197ad1bbe48584d8b7c0971e8284425447ef7
commit 5bb197ad1bbe48584d8b7c0971e8284425447ef7
Author: Rainer Hurling <rhurlin@FreeBSD.org>
AuthorDate: 2025-07-26 15:56:55 +0000
Commit: Rainer Hurling <rhurlin@FreeBSD.org>
CommitDate: 2025-07-26 16:04:21 +0000
databases/postgis-jdbc: Fix install data path
Package builders complain about an error in staging:
install -m 0644 /portdistfilespostgis-jdbc-2.1.7.jar /wrkdirs/usr/ports/databases/postgis-jdbc/work/stage/usr/local/share/java/classes
install: /portdistfilespostgis-jdbc-2.1.7.jar: No such file or directory
Don't know, why this worked before for such a long time ...
While here, pet portlint for PLIST_FILES.
Reported by: pkg-fallout
MFH: 2025Q3
---
databases/postgis-jdbc/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/databases/postgis-jdbc/Makefile b/databases/postgis-jdbc/Makefile
index 928b1ad533b0..20305ea641e0 100644
--- a/databases/postgis-jdbc/Makefile
+++ b/databases/postgis-jdbc/Makefile
@@ -17,9 +17,9 @@ USES= java zip:infozip
NO_BUILD= yes
NO_ARCH= yes
-PLIST_FILES= %%JAVAJARDIR%%/postgis-jdbc-2.1.7.jar
+PLIST_FILES= ${JAVAJARDIR}/postgis-jdbc-2.1.7.jar
do-install:
- ${INSTALL_DATA} ${_DISTDIR}${PORTNAME}-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}
+ ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}
.include <bsd.port.mk>