Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/pkgsrc/audio/adplug/Makefile,v rcsdiff: /ftp/cvs/cvsroot/pkgsrc/audio/adplug/Makefile,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.3 retrieving revision 1.4 diff -u -p -r1.3 -r1.4 --- pkgsrc/audio/adplug/Makefile 2008/06/20 01:09:05 1.3 +++ pkgsrc/audio/adplug/Makefile 2011/11/20 01:26:58 1.4 @@ -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///" ${WRKSRC}/src/rol.h + perl -i -pe "s///" ${WRKSRC}/src/player.h +.endif + .include "../../devel/libbinio/buildlink3.mk" .include "../../mk/bsd.pkg.mk"