Date: Tue, 17 Sep 2002 09:58:57 -0700 (PDT) From: KATO Tsuguru <tkato@prontomail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/42892: Update port: science/glens Message-ID: <200209171658.g8HGwvAC021915@www.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 42892 >Category: ports >Synopsis: Update port: science/glens >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Sep 17 10:30:10 PDT 2002 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: 4.6.2-RELEASE i386 >Organization: >Environment: >Description: - Support CFLAGS/CXXFLAGS properly - Support install macros >How-To-Repeat: >Fix: diff -urN /usr/ports/science/glens/Makefile science/glens/Makefile --- /usr/ports/science/glens/Makefile Thu Aug 8 17:39:30 2002 +++ science/glens/Makefile Sun Sep 15 08:52:18 2002 @@ -8,6 +8,7 @@ PORTNAME= glens PORTVERSION= 0.3 +PORTREVISION= 1 CATEGORIES= science MASTER_SITES= http://virtual.theo.phys.ulg.ac.be/ @@ -15,16 +16,22 @@ BUILD_DEPENDS= ${X11BASE}/lib/libglui.a:${PORTSDIR}/devel/glui +USE_REINPLACE= yes USE_MESA= yes GNU_CONFIGURE= yes -CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} ${PTHREAD_CFLAGS} -I${X11BASE}/include" \ - LDFLAGS="${PTHREAD_LIBS} -L${LOCALBASE}/lib -lstdc++" +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" CONFIGURE_ARGS= --with-glui=${X11BASE} -.if !defined(NOPORTDOCS) +CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS} +LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS} + +post-patch: + @${REINPLACE_CMD} 's|-O6||g' ${WRKSRC}/configure + post-install: - @${MKDIR} ${EXAMPLESDIR} - ${CP} -R ${WRKSRC}/cfg ${EXAMPLESDIR} +.if !defined(NOPORTDOCS) + @${MKDIR} ${EXAMPLESDIR}/cfg + ${INSTALL_DATA} ${WRKSRC}/cfg/*.cgf ${EXAMPLESDIR}/cfg .endif .include <bsd.port.mk> >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209171658.g8HGwvAC021915>