aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-XML-Canonical
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2015-08-17 21:06:06 +0800
committersunpoet <sunpoet@FreeBSD.org>2015-08-17 21:06:06 +0800
commit8dedb2a3380f3703ad769a2c3a046010c2afda45 (patch)
tree041e72f4e36ec546852676c6844cf2b254a109bb /textproc/p5-XML-Canonical
parent3f4754b748ab5448986251612a3b27d93faae53f (diff)
downloadfreebsd-ports-gnome-8dedb2a3380f3703ad769a2c3a046010c2afda45.tar.gz
freebsd-ports-gnome-8dedb2a3380f3703ad769a2c3a046010c2afda45.tar.zst
freebsd-ports-gnome-8dedb2a3380f3703ad769a2c3a046010c2afda45.zip
- Strip shared library
- Bump PORTREVISION for package change
Diffstat (limited to 'textproc/p5-XML-Canonical')
-rw-r--r--textproc/p5-XML-Canonical/Makefile8
-rw-r--r--textproc/p5-XML-Canonical/files/patch-Makefile.PL10
2 files changed, 7 insertions, 11 deletions
diff --git a/textproc/p5-XML-Canonical/Makefile b/textproc/p5-XML-Canonical/Makefile
index 35541c98b97f..b355ef6d32c1 100644
--- a/textproc/p5-XML-Canonical/Makefile
+++ b/textproc/p5-XML-Canonical/Makefile
@@ -3,7 +3,7 @@
PORTNAME= XML-Canonical
PORTVERSION= 0.10
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -21,4 +21,10 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
USE_PERL5= configure
USES= perl5 pkgconfig
+post-patch:
+ @${REINPLACE_CMD} -e '/die "VERSION" unless /d' ${WRKSRC}/Makefile.PL
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/XML/Canonical/Canonical.so
+
.include <bsd.port.mk>
diff --git a/textproc/p5-XML-Canonical/files/patch-Makefile.PL b/textproc/p5-XML-Canonical/files/patch-Makefile.PL
deleted file mode 100644
index 7ed1cee3b0ac..000000000000
--- a/textproc/p5-XML-Canonical/files/patch-Makefile.PL
+++ /dev/null
@@ -1,10 +0,0 @@
---- Makefile.PL.orig Sun Jul 15 16:00:28 2007
-+++ Makefile.PL Sun Jul 15 16:00:31 2007
-@@ -17,7 +17,6 @@
- print "running gdome-config... ";
- my $ver = backtick('gdome-config --version');
- my ($major, $minor, $point) = $ver =~ /(\d+).(\d+)\.(\d+)/g;
-- die "VERSION" unless $major == 0 && $minor == 7 && $point == 1;
- $config{LIBS} ||= backtick('gdome-config --libs');
- $config{INC} ||= backtick('gdome-config --cflags');
- print "ok\n";