pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[patch] sysutils/dvd+rw-tools needs gmake on linux-i386



Hi,

dvd+rw-tools generates an OS specific makefile via m4 macros (the toplevel
Makefile invokes "m4 -DOS=`uname -s` Makefile.m4 | make").
The one generated for linux is for gmake, and is not consumable by bmake.
The following patch seems to make it work:

##################################################################
--- sysutils/dvd+rw-tools/Makefile.orig 2006-08-15 21:50:17.000000000 +0200
+++ sysutils/dvd+rw-tools/Makefile      2006-08-15 21:50:01.000000000 +0200
@@ -24,6 +24,12 @@
 
 LDFLAGS.NetBSD+=       -lrt # sem_* functions
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "Linux"
+USE_TOOLS+=            gmake
+.endif
+
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/growisofs ${PREFIX}/bin
        ${INSTALL_MAN} ${WRKSRC}/growisofs.1 ${PREFIX}/man/man1
##################################################################

Csaba




Home | Main Index | Thread Index | Old Index