aboutsummaryrefslogtreecommitdiff
path: root/lang/mdk
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2003-07-18 12:34:53 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2003-07-18 12:34:53 +0000
commit53c6574141f95fffac776806da5f9a70994fb7d1 (patch)
tree05dbb46cb158a62e9d039d7687336f99416602a0 /lang/mdk
parent36d52004106433d9e1dafa857556fdc9702788b2 (diff)
downloadports-53c6574141f95fffac776806da5f9a70994fb7d1.tar.gz
ports-53c6574141f95fffac776806da5f9a70994fb7d1.zip
Notes
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>