diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2018-11-07 00:03:34 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2018-11-07 00:03:34 +0000 |
commit | 0ddfd47db4a5b3c7b4a035cf929deddc580cb128 (patch) | |
tree | 86df8ada8306079bef22ea98ff26ff50d7299cc9 /biology/molden | |
parent | Add compiler:c++11-lang to USES to fix linking with boost. (diff) |
biology/molden: Unbreak: fix the problem that it can't find libgcc_s.so from gcc
Add $(LDFLAGS) to makefile.
While here, add USES=gl.
Approved by: portmgr
Notes
Notes:
svn path=/head/; revision=484371
Diffstat (limited to 'biology/molden')
-rw-r--r-- | biology/molden/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/biology/molden/Makefile b/biology/molden/Makefile index e87aa9060892..46f7ca44c4e4 100644 --- a/biology/molden/Makefile +++ b/biology/molden/Makefile @@ -21,7 +21,7 @@ RESTRICTED= free for academic, non profit usage; do not re-distribute source and WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION} -USES= fortran gmake +USES= fortran gl gmake USE_XORG= x11 USE_GL= gl glu MAKEFILE= makefile @@ -44,6 +44,7 @@ post-patch: 's|^CC |#CC | ; \ s|^FC |#FC | ; \ s|/usr/X11R6|${LOCALBASE}| ; \ + s|$$(LIBS)|$$(LIBS) $$(LDFLAGS)| ; \ s|-lXmu|| ; \ /depend/s|^|#|' ${WRKSRC}/makefile |