Move the stuff from post-extract to post-patch to help

the build after time_t changes.
(this still isn't enough)
This commit is contained in:
kili 2013-05-08 13:38:09 +00:00
parent b47e51631e
commit ae14bc2b1c

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.91 2013/05/03 09:41:29 kili Exp $
# $OpenBSD: Makefile,v 1.92 2013/05/08 13:38:09 kili Exp $
COMMENT-main = compiler for the functional language Haskell
COMMENT-doc = documentation for GHC
@ -121,7 +121,8 @@ PORTHOME = ${WRKDIR}
TEST_DEPENDS = print/ghostscript/gnu
post-extract:
post-patch:
${SUBST_CMD} ${WRKSRC}/docs/index.html
# - Install a precompiled binary.
cd ${WRKDIR}/ghc-${BIN_VER} && \
cp -p /bin/pwd utils/ghc-pwd/dist-install/build/tmp/ghc-pwd && \
@ -136,9 +137,6 @@ post-extract:
perl -pi -e 's/(\S+ \S+)/\1 -optl -nopie/ if /^exec /' \
${WRKDIR}/bin/ghc
post-patch:
${SUBST_CMD} ${WRKSRC}/docs/index.html
post-install:
cd ${PREFIX}/lib/ghc && \
GHC_PKG="./ghc-pkg --global-conf ./package.conf.d" && \