[150676] trunk/dports/office/zathura-plugin-ps

devans at macports.org devans at macports.org
Tue Jul 26 09:35:59 PDT 2016


Revision: 150676
          https://trac.macports.org/changeset/150676
Author:   devans at macports.org
Date:     2016-07-26 09:35:59 -0700 (Tue, 26 Jul 2016)
Log Message:
-----------
zathura-plugin-ps: maintainer update to version 0.2.3 (#51916).

Modified Paths:
--------------
    trunk/dports/office/zathura-plugin-ps/Portfile
    trunk/dports/office/zathura-plugin-ps/files/patch-Makefile.diff
    trunk/dports/office/zathura-plugin-ps/files/patch-config.mk.diff

Modified: trunk/dports/office/zathura-plugin-ps/Portfile
===================================================================
--- trunk/dports/office/zathura-plugin-ps/Portfile	2016-07-26 16:15:43 UTC (rev 150675)
+++ trunk/dports/office/zathura-plugin-ps/Portfile	2016-07-26 16:35:59 UTC (rev 150676)
@@ -2,10 +2,10 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           compiler_blacklist_versions 1.0
 
 name                zathura-plugin-ps
-version             0.2.2
-revision            1
+version             0.2.3
 categories          office
 platforms           darwin
 license             zlib
@@ -20,9 +20,8 @@
 master_sites        http://pwmt.org/projects/zathura-ps/download/
 distname            zathura-ps-${version}
 
-checksums           \
-    rmd160 f6492979bc5d91b1963bc973d626ed72bebff87f \
-    sha256 e6546261db03b0b6b6499a8e109dc9ff3b8eb8b154ce45f5c6284c1e76d1d7a8
+checksums           rmd160  7081371b2f6349de7d24b9d90ad3460f67eeba7c \
+                    sha256  a9eef74b12aec87ac2c4309f12d0f9c83b228fe64a788ee46b2c3a7c91779aa3
 
 patch.pre_args      -p1
 patchfiles          patch-Makefile.diff \
@@ -37,6 +36,9 @@
 
 use_configure       no
 
+# blacklist compilers that don't support -std=c11
+compiler.blacklist  *gcc* {clang < 300}
+
 variant universal   {}
 
 build.args          PREFIX=${prefix}
@@ -47,8 +49,8 @@
                     LDFLAGS="[get_canonical_archflags ld]" \
                     VERBOSE=1
 
-eval destroot.env   ${build.env}
-eval destroot.args  ${build.args}
+destroot.env        {*}${build.env}
+destroot.args       {*}${build.args}
 
 post-activate {
     system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"

Modified: trunk/dports/office/zathura-plugin-ps/files/patch-Makefile.diff
===================================================================
--- trunk/dports/office/zathura-plugin-ps/files/patch-Makefile.diff	2016-07-26 16:15:43 UTC (rev 150675)
+++ trunk/dports/office/zathura-plugin-ps/files/patch-Makefile.diff	2016-07-26 16:35:59 UTC (rev 150676)
@@ -1,5 +1,5 @@
 diff --git a/Makefile b/Makefile
-index bd53080..19e3208 100644
+index bd53080..0a56a11 100644
 --- a/Makefile
 +++ b/Makefile
 @@ -20,7 +20,7 @@ CPPFLAGS += "-DVERSION_MAJOR=${VERSION_MAJOR}"
@@ -11,7 +11,7 @@
  
  zathura-version-check:
  ifneq ($(ZATHURA_VERSION_CHECK), 0)
-@@ -48,16 +48,16 @@ options:
+@@ -48,19 +48,19 @@ options:
  ${OBJECTS}:  config.mk zathura-version-check
  ${DOBJECTS}: config.mk zathura-version-check
  
@@ -21,16 +21,22 @@
 -	$(QUIET)${CC} -shared ${LDFLAGS} -o $@ $(OBJECTS) ${LIBS}
 +	$(QUIET)${CC} -Wl,-dylib_install_name,${PLUGIN}.dylib -Wl,-bundle_loader,${PREFIX}/bin/zathura -bundle ${LDFLAGS} -o $@ $(OBJECTS) ${LIBS}
  
- ${PLUGIN}-debug.so: ${DOBJECTS}
+-${PLUGIN}-debug.so: ${DOBJECTS}
++${PLUGIN}-debug.dylib: ${DOBJECTS}
  	$(ECHO) LD $@
  	$(QUIET)${CC} -shared ${LDFLAGS} -o $@ $(DOBJECTS) ${LIBS}
  
  clean:
 -	$(QUIET)rm -rf ${OBJECTS} ${DOBJECTS} $(PLUGIN).so doc .depend \
+-		${PROJECT}-${VERSION}.tar.gz ${PLUGIN}-debug.so zathura-version-check
 +	$(QUIET)rm -rf ${OBJECTS} ${DOBJECTS} $(PLUGIN).dylib doc .depend \
- 		${PROJECT}-${VERSION}.tar.gz ${PLUGIN}-debug.so zathura-version-check
++		${PROJECT}-${VERSION}.tar.gz ${PLUGIN}-debug.dylib zathura-version-check
  
- debug: options ${PLUGIN}-debug.so
+-debug: options ${PLUGIN}-debug.so
++debug: options ${PLUGIN}-debug.dylib
+ 
+ dist: clean
+ 	$(QUIET)mkdir -p ${PROJECT}-${VERSION}
 @@ -77,7 +77,7 @@ doc: clean
  install: all
  	$(ECHO) installing ${PLUGIN} plugin

Modified: trunk/dports/office/zathura-plugin-ps/files/patch-config.mk.diff
===================================================================
--- trunk/dports/office/zathura-plugin-ps/files/patch-config.mk.diff	2016-07-26 16:15:43 UTC (rev 150675)
+++ trunk/dports/office/zathura-plugin-ps/files/patch-config.mk.diff	2016-07-26 16:35:59 UTC (rev 150676)
@@ -1,10 +1,10 @@
 diff --git a/config.mk b/config.mk
-index 38ed50f..a45896b 100644
+index 971f45d..4ff8778 100644
 --- a/config.mk
 +++ b/config.mk
 @@ -40,6 +40,9 @@ LIBS = ${GLIB_LIB} ${SPECTRE_LIB} ${GIRARA_LIB}
  # flags
- CFLAGS += -std=c99 -fPIC -pedantic -Wall -Wno-format-zero-length $(INCS)
+ CFLAGS += -std=c11 -fPIC -pedantic -Wall -Wno-format-zero-length $(INCS)
  
 +# linker flags
 +LDFLAGS += -fPIC -fno-common
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160726/c989bcd2/attachment.html>


More information about the macports-changes mailing list