diff options
author | mat <mat@FreeBSD.org> | 2013-11-25 01:40:44 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2013-11-25 01:40:44 +0800 |
commit | 636603b4256acd6500e9ea55ddd74f51e9ed605d (patch) | |
tree | f9d8301a9f6d3b115d6bf94c75a45e2ab5278877 /databases/p5-DBD-ODBC | |
parent | c9f522e23f02154df2d9ac4a762e4f63f9333137 (diff) | |
download | freebsd-ports-gnome-636603b4256acd6500e9ea55ddd74f51e9ed605d.tar.gz freebsd-ports-gnome-636603b4256acd6500e9ea55ddd74f51e9ed605d.tar.zst freebsd-ports-gnome-636603b4256acd6500e9ea55ddd74f51e9ed605d.zip |
- Wrap up cd && foo in parenthesis, it'd break with bmake -j
- Replace some FIND ... CPIO with COPYTREE_SHARE.
Diffstat (limited to 'databases/p5-DBD-ODBC')
-rw-r--r-- | databases/p5-DBD-ODBC/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/databases/p5-DBD-ODBC/Makefile b/databases/p5-DBD-ODBC/Makefile index 7c42fcde8466..955553f14e0e 100644 --- a/databases/p5-DBD-ODBC/Makefile +++ b/databases/p5-DBD-ODBC/Makefile @@ -50,17 +50,17 @@ MYODBC= unixodbc post-patch: @${REINPLACE_CMD} -e '/my $$myodbc/ s|q{}|"${MYODBC}"|' ${WRKSRC}/Makefile.PL -post-configure: .if ${PORT_OPTIONS:MUNIXODBC} +post-configure: @${PERL} -pi -e 's/-lodbc/-lodbc ${PTHREAD_LIBS}/g;' \ -e 's/$$/ ${PTHREAD_CFLAGS}/ if (/^CCFLAGS/);' \ ${WRKSRC}/Makefile .endif -post-install: .if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${STAGEDIR}${DOCSDIR}/ - cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ +post-install: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." .endif |