diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2021-10-01 15:29:48 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2021-10-01 15:29:48 +0000 |
commit | 9bec8e98bafddba76f6397c96517ffdcd9a794fa (patch) | |
tree | 1dcf0fef5b674ce57f4c17cc6f259a7658f3dfad /math/mpdecimal | |
parent | cdaee992925e52c33d4b2208cf859ad253de14e8 (diff) | |
download | ports-9bec8e98bafddba76f6397c96517ffdcd9a794fa.tar.gz ports-9bec8e98bafddba76f6397c96517ffdcd9a794fa.zip |
Diffstat (limited to 'math/mpdecimal')
-rw-r--r-- | math/mpdecimal/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/math/mpdecimal/Makefile b/math/mpdecimal/Makefile index 8149011f6c2a..a5d59a202441 100644 --- a/math/mpdecimal/Makefile +++ b/math/mpdecimal/Makefile @@ -20,8 +20,14 @@ PORTDOCS= libmpdec++/* libmpdec/* OPTIONS_DEFINE= DOCS +.include <bsd.port.pre.mk> + +.if ${CHOSEN_COMPILER_TYPE} == gcc +CONFIGURE_ARGS= LD="${CC}" LDXX="${CXX}" +.endif + post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmpdec.so.${DISTVERSION} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmpdec++.so.${DISTVERSION} -.include <bsd.port.mk> +.include <bsd.port.post.mk> |