ports/61528: [maintainer] math/fung-calc: respect CFLAGS and PTHREAD_LIBS

Markus Brueffer brueffer at phoenix-systems.de
Sun Jan 18 14:40:33 UTC 2004


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



More information about the freebsd-ports-bugs mailing list