Date: Wed, 16 Jul 2003 13:50:50 +0200 (CEST) From: Volker Stolz <stolz@i2.informatik.rwth-aachen.de> To: FreeBSD-gnats-submit@FreeBSD.org Cc: ijliao@FreeBSD.org Subject: ports/54545: [patch] lang/mdk: stdint.h missing on -STABLE (bento) Message-ID: <200307161150.h6GBooXw018361@menelaos.informatik.rwth-aachen.de> Resent-Message-ID: <200307161200.h6GC0PMv099648@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 54545 >Category: ports >Synopsis: [patch] lang/mdk: stdint.h missing on -STABLE (bento) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jul 16 05:00:24 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Volker Stolz >Release: FreeBSD 4.8-STABLE i386 >Organization: Lehrstuhl für Informatik II >Environment: System: FreeBSD menelaos.informatik.rwth-aachen.de 4.8-STABLE FreeBSD 4.8-STABLE #5: Mon Jun 23 10:24:06 CEST 2003 root@menelaos.informatik.rwth-aachen.de:/usr/obj/usr/src/sys/MENELAOS i386 >Description: No stdint.h on -STABLE (and no feature-test in the port). >How-To-Repeat: >Fix: Using REINPLACE should be easier than adding a patch file. --- mdk begins here --- --- Makefile.orig Wed Jul 16 13:44:04 2003 +++ Makefile Wed Jul 16 13:46:19 2003 @@ -20,6 +20,7 @@ intl.4:${PORTSDIR}/devel/gettext \ guile.15:${PORTSDIR}/lang/guile +USE_REINPLACE= yes USE_GETOPT_LONG= yes USE_X_PREFIX= yes USE_GNOME= glib12 gtk12 libglade gnomehack gnomehier gnomeprefix @@ -28,7 +29,15 @@ LDFLAGS="-L${LOCALBASE}/lib" \ MAKEINFO="makeinfo --no-split" +.include <bsd.port.pre.mk> + post-extract: @${RM} -f ${WRKSRC}/doc/*.info* -.include <bsd.port.mk> +post-patch: +.if ${OSVERSION} < 500028 + @${REINPLACE_CMD} 's/#include <stdint.h>//g' \ + ${WRKSRC}/mixlib/mix_scanner.c +.endif + +.include <bsd.port.post.mk> --- mdk ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307161150.h6GBooXw018361>