aboutsummaryrefslogtreecommitdiff
path: root/databases/dbconnect/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/dbconnect/Makefile')
-rw-r--r--databases/dbconnect/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/databases/dbconnect/Makefile b/databases/dbconnect/Makefile
index 7f5d46ecc246..b720bbe94ae9 100644
--- a/databases/dbconnect/Makefile
+++ b/databases/dbconnect/Makefile
@@ -34,8 +34,9 @@ PGSQL_CONFIGURE_ON= --enable-pgsql=yes \
post-patch:
@${RM} -f ${WRKSRC}/include/dbconn/README
- @${REINPLACE_CMD} 's/gcc/${CC}/' ${WRKSRC}/src/dbconnect/Makefile.in
- @${REINPLACE_CMD} 's/gcc/${CC}/' ${WRKSRC}/src/driver_*/Makefile.in
+ @${REINPLACE_CMD} 's|gcc|${CC}|' \
+ ${WRKSRC}/src/dbconnect/Makefile.in \
+ ${WRKSRC}/src/driver_*/Makefile.in
do-install:
@cd ${WRKSRC}; \