diff options
author | tijl <tijl@FreeBSD.org> | 2014-08-26 22:06:08 +0800 |
---|---|---|
committer | tijl <tijl@FreeBSD.org> | 2014-08-26 22:06:08 +0800 |
commit | f8357b5cbaa160ccdf9943cac099f5e092c591da (patch) | |
tree | d0c8617b772b8f0a175d436d938b8d844590b41f /science/gsmc | |
parent | 89a7d6ecbdde724b92ca6650493f56cf68855f35 (diff) | |
download | freebsd-ports-graphics-f8357b5cbaa160ccdf9943cac099f5e092c591da.tar.gz freebsd-ports-graphics-f8357b5cbaa160ccdf9943cac099f5e092c591da.tar.zst freebsd-ports-graphics-f8357b5cbaa160ccdf9943cac099f5e092c591da.zip |
- Fix missing library problems when the linker enforces explicit linking
PR: 192062
Exp-run by: antoine
Approved by: portmgr (antoine)
Diffstat (limited to 'science/gsmc')
-rw-r--r-- | science/gsmc/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/science/gsmc/Makefile b/science/gsmc/Makefile index 5740c556fea..c66ad25f2d7 100644 --- a/science/gsmc/Makefile +++ b/science/gsmc/Makefile @@ -12,10 +12,11 @@ COMMENT= Smith chart program for impedance matching USE_GNOME= gtk20 GNU_CONFIGURE= yes -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib USES= gmake pkgconfig USE_AUTOTOOLS= aclocal automake autoconf -AUTOMAKE_ARGS= -i --add-missing --foreign --copy +AUTOMAKE_ARGS= -i --add-missing --foreign --copy --force + +post-patch: + @${REINPLACE_CMD} '/^LIBS=/s/$$/ -lm/' ${WRKSRC}/Makefile.am .include <bsd.port.mk> |