summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2009-03-20 08:26:12 +0000
committerAlex Dupre <ale@FreeBSD.org>2009-03-20 08:26:12 +0000
commita44e04c93107777175a25640af06e672488e2aa0 (patch)
tree8160b6e84165cf6e396d12bbda7b3653bbe19cf6
parent- Update to 0.9.8.4 (diff)
Fix build.
Notes
Notes: svn path=/head/; revision=230463
-rw-r--r--print/pecl-pdflib/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/print/pecl-pdflib/Makefile b/print/pecl-pdflib/Makefile
index 9989184110d5..96e1c473508d 100644
--- a/print/pecl-pdflib/Makefile
+++ b/print/pecl-pdflib/Makefile
@@ -25,4 +25,8 @@ PHP_MODNAME= pdf
CONFIGURE_ARGS= --with-pdflib=${LOCALBASE}
+post-extract:
+ @${ECHO_CMD} "#define PHP_PDFLIB_VERSION \"${PORTVERSION}\"" > \
+ ${WRKSRC}/php_pdflib.h
+
.include <bsd.port.mk>