pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/firefox
Module Name: pkgsrc
Committed By: maya
Date: Sat Feb 4 12:58:12 UTC 2017
Modified Files:
pkgsrc/www/firefox: Makefile
Log Message:
firefox: don't include malloc.h on dragonflybsd.
a slightly more maintenance friendly version of the patch in PR pkg/51695 from
David Shao.
To generate a diff of this commit:
cvs rdiff -u -r1.280 -r1.281 pkgsrc/www/firefox/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/firefox/Makefile
diff -u pkgsrc/www/firefox/Makefile:1.280 pkgsrc/www/firefox/Makefile:1.281
--- pkgsrc/www/firefox/Makefile:1.280 Fri Jan 27 13:28:11 2017
+++ pkgsrc/www/firefox/Makefile Sat Feb 4 12:58:12 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.280 2017/01/27 13:28:11 ryoon Exp $
+# $NetBSD: Makefile,v 1.281 2017/02/04 12:58:12 maya Exp $
FIREFOX_VER= ${MOZ_BRANCH}${MOZ_BRANCH_MINOR}
MOZ_BRANCH= 51.0
@@ -37,6 +37,13 @@ ALL_ENV+= MOZILLA_PKG_NAME=firefox
BUILDLINK_TRANSFORM.SunOS+= rm:-fdata-sections
BUILDLINK_TRANSFORM.SunOS+= rm:-ffunction-sections
+SUBST_CLASSES+= dfly_malloc_h
+SUBST_STAGE.dfly_malloc_h= pre-configure
+SUBST_MESSAGE.dfly_malloc_h= Dont include malloc.h on dragonflybsd
+SUBST_SED.dfly_malloc_h= -e 's,HAVE_MALLOC_H,HAVE_MALLOC_H \&\& !defined(__DragonFly__),g'
+SUBST_FILES.dfly_malloc_h= media/libav/libavutil/mem.c
+SUBST_FILES.dfly_malloc_h+= media/ffvpx/libavutil/mem.c
+
LDFLAGS.DragonFly= -lplc4 -lnspr4
LDFLAGS.FreeBSD= -lplc4 -lnspr4
LDFLAGS.Linux= -lnspr4
Home |
Main Index |
Thread Index |
Old Index