diff options
-rw-r--r-- | audio/adplug/Makefile | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/audio/adplug/Makefile b/audio/adplug/Makefile index 1352f881531..b970bb57976 100644 --- a/audio/adplug/Makefile +++ b/audio/adplug/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2008/06/20 01:09:05 joerg Exp $ +# $NetBSD: Makefile,v 1.4 2011/11/20 01:26:58 marino Exp $ # DISTNAME= adplug-2.1 @@ -21,5 +21,17 @@ INFO_FILES= yes PKGCONFIG_OVERRIDE+= adplug.pc.in +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "DragonFly" +USE_TOOLS+= perl +.endif + +post-extract: +.if ${OPSYS} == "DragonFly" + perl -i -pe "s/<string>/<strings.h>/" ${WRKSRC}/src/rol.h + perl -i -pe "s/<string>/<string.h>/" ${WRKSRC}/src/player.h +.endif + .include "../../devel/libbinio/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |