[Midnightbsd-cvs] mports: Makefile: This has been broken on magus for some time.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Thu Apr 10 13:40:51 EDT 2008


Log Message:
-----------
This has been broken on magus for some time.

Update for gcc 3.4.6 (current).

Modified Files:
--------------
    mports/emulators/tiemu2:
        Makefile (r1.1 -> r1.2)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/emulators/tiemu2/Makefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -L emulators/tiemu2/Makefile -L emulators/tiemu2/Makefile -u -r1.1 -r1.2
--- emulators/tiemu2/Makefile
+++ emulators/tiemu2/Makefile
@@ -8,7 +8,7 @@
 
 PORTNAME=	tiemu2
 PORTVERSION=	2.08
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	emulators
 MASTER_SITES=	http://www.ticalc.org/pub/unix/ \
 		http://freebsd.nsu.ru/distfiles/tiemu/
@@ -16,6 +16,7 @@
 
 MAINTAINER=	ports at MidnightBSD.org
 COMMENT=	TI89(ti)/92(+)/V200 hand-helds emulator
+LICENSE=	gpl2
 
 LIB_DEPENDS=	ticalcs.10:${PORTSDIR}/devel/libticalcs \
 		ticables.12:${PORTSDIR}/comms/libticables \
@@ -31,10 +32,13 @@
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
 post-extract: .SILENT
-	${REINPLACE_CMD} -e 's,\*-\*-linux\*,\*-\*-freebsd\*,' \
-		${WRKSRC}/configure
+	${RM} ${WRKSRC}/src/Makefile
+	${REINPLACE_CMD} -e 's,\*-\*-linux\*,\*-\*-freebsd\*, ; \
+		s|-D.*_DISABLE_DEPRECATED||g' ${WRKSRC}/configure
 	${REINPLACE_CMD} -E 's,(install-data-am:).*$$,\1,' ${WRKSRC}/Makefile.in
 	${REINPLACE_CMD} -e 's,defined(__LINUX__),& || defined(__BSD__),' \
 		${WRKSRC}/src/gui/calc/pckeys.h ${WRKSRC}/src/misc/paths.h
+	${REINPLACE_CMD} -e 's|#define .*_DISABLE_DEPRECATED||g' \
+		${WRKSRC}/src/gui/comm.c
 
 .include <bsd.port.mk>


More information about the Midnightbsd-cvs mailing list