ports/54545: [patch] lang/mdk: stdint.h missing on -STABLE (bento)
Volker Stolz
stolz at i2.informatik.rwth-aachen.de
Wed Jul 16 12:00:26 UTC 2003
>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 at 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:
More information about the freebsd-ports-bugs
mailing list