openbsd-ports/databases/pgaccess/scripts/post-configure

10 lines
223 B
Plaintext
Raw Normal View History

#! /bin/sh
mv ${WRKSRC}/pgaccess.tcl ${WRKSRC}/pgaccess.tcl.$$
sed -e "s|load libpgtcl.so|load ${PREFIX}/pgsql/lib/libpgtcl.so|" \
< ${WRKSRC}/pgaccess.tcl.$$ \
> ${WRKSRC}/pgaccess.tcl
rm -f ${WRKSRC}/pgaccess.tcl.$$