pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/multimedia/gpac
Module Name: pkgsrc
Committed By: jperkin
Date: Mon May 15 11:31:16 UTC 2017
Modified Files:
pkgsrc/multimedia/gpac: Makefile
Log Message:
Package assumes building from a git checkout, fix build by pre-generating
the git version header.
To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 pkgsrc/multimedia/gpac/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/multimedia/gpac/Makefile
diff -u pkgsrc/multimedia/gpac/Makefile:1.51 pkgsrc/multimedia/gpac/Makefile:1.52
--- pkgsrc/multimedia/gpac/Makefile:1.51 Fri Feb 24 21:54:51 2017
+++ pkgsrc/multimedia/gpac/Makefile Mon May 15 11:31:16 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.51 2017/02/24 21:54:51 maya Exp $
+# $NetBSD: Makefile,v 1.52 2017/05/15 11:31:16 jperkin Exp $
DISTNAME= gpac-0.6.1
PKGREVISION= 3
@@ -25,6 +25,10 @@ CONFIGURE_ARGS+= --extra-cflags="${CFLAG
CONFIGURE_ARGS+= --extra-ldflags="${LDFLAGS}"
CFLAGS+= -I${BUILDLINK_PREFIX.faad2}/${BUILDLINK_INCDIRS.faad2}
+# Pre-generate header and avoid git dependency.
+pre-build:
+ ${ECHO} "#define GPAC_GIT_REVISION \"release\"" > ${WRKSRC}/include/gpac/revision.h
+
.include "../../audio/faad2/buildlink3.mk"
.include "../../audio/liba52/buildlink3.mk"
.include "../../audio/libmad/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index