pkgsrc-Bugs archive

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

Re: pkg/42428 (test for mkdtemp botched in lang/f2c)



asau%NetBSD.org@localhost writes:

> Over to maintainer.

"Updater" rather.

Does the following fix build?

--- Makefile    3 Dec 2009 12:48:37 -0000       1.50
+++ Makefile    9 Dec 2009 07:54:45 -0000
@@ -40,6 +40,12 @@
        ${INSTALL_DATA} ${WRKSRC}/$f ${DESTDIR}${PREFIX}/share/doc/f2c/$f
 .endfor
 
+.include "../../mk/bsd.prefs.mk"
+.if $(OPSYS) == "SunOS"
+do-configure:
+       printf '\043define NO_MKDTEMP\n\043define NO_MKSTEMP\n' > 
$(WRKSRC)/src/sysdep.hd
+.endif
+
 # Note.  the distfile is kept locally because it is
 # created "on the fly" by the real master site with
 # no version number included.  This makes it difficult



-- 
HE CE3OH...


Home | Main Index | Thread Index | Old Index