aboutsummaryrefslogtreecommitdiffstats
path: root/databases/java-sqlrelay
diff options
context:
space:
mode:
Diffstat (limited to 'databases/java-sqlrelay')
-rw-r--r--databases/java-sqlrelay/Makefile3
-rw-r--r--databases/java-sqlrelay/pkg-plist4
2 files changed, 4 insertions, 3 deletions
diff --git a/databases/java-sqlrelay/Makefile b/databases/java-sqlrelay/Makefile
index 4992c28905e7..4c15538ba90a 100644
--- a/databases/java-sqlrelay/Makefile
+++ b/databases/java-sqlrelay/Makefile
@@ -14,7 +14,7 @@ DISTFILES= # none
MAINTAINER= knu@FreeBSD.org
-BUILD_DEPENDS= ${NONEXISTENT}:${SQLRELAY_PORTDIR}:configure \
+BUILD_DEPENDS= ${NONEXISTENT}:${SQLRELAY_PORTDIR}:patch \
${LOCALBASE}/jdk${JDK_VERSION}/bin/java:${PORTSDIR}/java/jdk
LIB_DEPENDS= sqlrclient.0:${SQLRELAY_PORTDIR}
RUN_DEPENDS= ${LOCALBASE}/jdk${JDK_VERSION}/bin/java:${PORTSDIR}/java/jdk
@@ -34,5 +34,6 @@ CONFIGURE_ARGS= ${SQLRELAY_CONFIGURE_ARGS} \
do-extract:
${MKDIR} ${WRKDIR}
${LN} -fs `${SQLRELAY_WRKSRC_CMD}` ${WRKSRC}
+ ${RM} -f ${WRKSRC}/config.cache
.include <bsd.port.mk>
diff --git a/databases/java-sqlrelay/pkg-plist b/databases/java-sqlrelay/pkg-plist
index 3413d708bb2e..35bac5c96ba9 100644
--- a/databases/java-sqlrelay/pkg-plist
+++ b/databases/java-sqlrelay/pkg-plist
@@ -2,5 +2,5 @@ share/java/classes/SQLRConnection.class
share/java/classes/SQLRCursor.class
share/java/classes/libSQLRConnection.so
share/java/classes/libSQLRCursor.so
-@unexec rmdir %D/share/java/classes || true
-@unexec rmdir %D/share/java || true
+@unexec rmdir %D/share/java/classes 2>/dev/null || true
+@unexec rmdir %D/share/java 2>/dev/null || true