Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jan 2004 15:20:56 +0100 (CET)
From:      Markus Brueffer <brueffer@phoenix-systems.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/61528: [maintainer] math/fung-calc: respect CFLAGS and PTHREAD_LIBS
Message-ID:  <20040118142056.05AE21FF@maquis.hitnet.rwth-aachen.de>
Resent-Message-ID: <200401181440.i0IEe9vd091317@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         61528
>Category:       ports
>Synopsis:       [maintainer] math/fung-calc: respect CFLAGS and PTHREAD_LIBS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 18 06:40:09 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Markus Brueffer
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD cheops.phoenix 5.2-CURRENT FreeBSD 5.2-CURRENT #16: Mon Dec 22 00:35:14 CET 2003 root@cheops.phoenix:/usr/obj/usr/src/sys/CHEOPS i386

>Description:
	math/fung-calc:
	  - respect CFLAGS and PTHREAD_LIBS
	  - make portlint happy

>How-To-Repeat:
>Fix:

--- fung-calc.diff begins here ---
diff -ruN fung-calc.orig/Makefile fung-calc/Makefile
--- fung-calc.orig/Makefile	Sun Jan 18 14:23:56 2004
+++ fung-calc/Makefile	Sun Jan 18 14:47:38 2004
@@ -14,17 +14,17 @@
 COMMENT=	Advanced graphic calculator
 
 USE_KDELIBS_VER=	3
-USE_MESA=	yes
+USE_GL=		yes
 USE_GMAKE=	yes
 USE_LIBTOOL=	yes
 USE_REINPLACE=	yes
 INSTALLS_SHLIB=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_TARGET=
-CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 CONFIGURE_ENV+=	LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
 
 pre-configure:
-	${REINPLACE_CMD} -e 's|-pedantic ||g' ${WRKSRC}/configure
+	@${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/configure
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/x11/kde3/Makefile.kde"
+.include <bsd.port.post.mk>
--- fung-calc.diff ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



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