Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Nov 2018 00:03:35 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r484371 - head/biology/molden
Message-ID:  <201811070003.wA703ZEk079533@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Wed Nov  7 00:03:34 2018
New Revision: 484371
URL: https://svnweb.freebsd.org/changeset/ports/484371

Log:
  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

Modified:
  head/biology/molden/Makefile

Modified: head/biology/molden/Makefile
==============================================================================
--- head/biology/molden/Makefile	Tue Nov  6 23:52:17 2018	(r484370)
+++ head/biology/molden/Makefile	Wed Nov  7 00:03:34 2018	(r484371)
@@ -21,7 +21,7 @@ RESTRICTED=	free for academic, non profit usage; do no
 
 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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811070003.wA703ZEk079533>