aboutsummaryrefslogtreecommitdiffstats
path: root/lang/mdk
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2003-07-18 20:34:53 +0800
committerarved <arved@FreeBSD.org>2003-07-18 20:34:53 +0800
commitdd8cf903c699f457294d7c64cc00c7ac0b529d78 (patch)
tree3b1600721fa848766bd4bfeacbd0fa81e790659d /lang/mdk
parent3c8c3a0f546187c78d4b77cb63b377cb60c10864 (diff)
downloadfreebsd-ports-gnome-dd8cf903c699f457294d7c64cc00c7ac0b529d78.tar.gz
freebsd-ports-gnome-dd8cf903c699f457294d7c64cc00c7ac0b529d78.tar.zst
freebsd-ports-gnome-dd8cf903c699f457294d7c64cc00c7ac0b529d78.zip
Fix build on STABLE
PR: 54545 Submitted by: Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
Diffstat (limited to 'lang/mdk')
-rw-r--r--lang/mdk/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/lang/mdk/Makefile b/lang/mdk/Makefile
index c0a91748aa6c..f7d12ea254ad 100644
--- a/lang/mdk/Makefile
+++ b/lang/mdk/Makefile
@@ -20,6 +20,7 @@ LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv \
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 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
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>