[150674] trunk/dports/office/zathura-plugin-djvu

devans at macports.org devans at macports.org
Tue Jul 26 09:02:28 PDT 2016


Revision: 150674
          https://trac.macports.org/changeset/150674
Author:   devans at macports.org
Date:     2016-07-26 09:02:28 -0700 (Tue, 26 Jul 2016)
Log Message:
-----------
zathura-plugin-djvu: maintainer update to version 0.2.5 (#51914).

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

Modified: trunk/dports/office/zathura-plugin-djvu/Portfile
===================================================================
--- trunk/dports/office/zathura-plugin-djvu/Portfile	2016-07-26 15:46:40 UTC (rev 150673)
+++ trunk/dports/office/zathura-plugin-djvu/Portfile	2016-07-26 16:02:28 UTC (rev 150674)
@@ -2,9 +2,10 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           compiler_blacklist_versions 1.0
 
 name                zathura-plugin-djvu
-version             0.2.4
+version             0.2.5
 categories          office
 platforms           darwin
 maintainers         gmail.com:starkhalo \
@@ -20,10 +21,12 @@
 master_sites        http://pwmt.org/projects/zathura-djvu/download/
 distname            zathura-djvu-${version}
 
-checksums           rmd160  109b9392111ad3e2dba72d7677ee7e5df4a160de \
-                    sha256  ac10b8c07fd9f58281225e1a4cb026634cd03bf6b549eaceeea02f99ab5334bc
+checksums           rmd160  cddb68260f74ff406053c362f94b51caeae8f670 \
+                    sha256  08b7110af13e17a9d221bd7a0f7d3b479b3e31631d78bc6c5efb46271a299c0d
 
-patchfiles          patch-Makefile.diff
+patch.pre_args      -p1
+patchfiles          patch-Makefile.diff \
+                    patch-config.mk.diff
 
 depends_build       port:pkgconfig
 
@@ -34,6 +37,9 @@
 
 use_configure       no
 
+# blacklist compilers that don't support -std=c11
+compiler.blacklist  *gcc* {clang < 300}
+
 variant universal   {}
 
 build.args          PREFIX=${prefix}

Modified: trunk/dports/office/zathura-plugin-djvu/files/patch-Makefile.diff
===================================================================
--- trunk/dports/office/zathura-plugin-djvu/files/patch-Makefile.diff	2016-07-26 15:46:40 UTC (rev 150673)
+++ trunk/dports/office/zathura-plugin-djvu/files/patch-Makefile.diff	2016-07-26 16:02:28 UTC (rev 150674)
@@ -1,6 +1,8 @@
---- Makefile.orig	2015-05-27 18:33:13.000000000 -0500
-+++ Makefile	2015-05-27 18:34:12.000000000 -0500
-@@ -20,7 +20,7 @@
+diff --git a/Makefile b/Makefile
+index f4d4d6b..74ce447 100644
+--- a/Makefile
++++ b/Makefile
+@@ -20,7 +20,7 @@ CPPFLAGS += "-DVERSION_MAJOR=${VERSION_MAJOR}"
  CPPFLAGS += "-DVERSION_MINOR=${VERSION_MINOR}"
  CPPFLAGS += "-DVERSION_REV=${VERSION_REV}"
  
@@ -9,7 +11,7 @@
  
  zathura-version-check:
  ifneq ($(ZATHURA_VERSION_CHECK), 0)
-@@ -48,16 +48,16 @@
+@@ -48,19 +48,19 @@ options:
  ${OBJECTS}:  config.mk zathura-version-check
  ${DOBJECTS}: config.mk zathura-version-check
  
@@ -17,19 +19,24 @@
 +${PLUGIN}.dylib: ${OBJECTS}
  	$(ECHO) LD $@
 -	$(QUIET)${CC} -shared ${LDFLAGS} -o $@ $(OBJECTS) ${LIBS}
-+	$(QUIET)${CC} -Wl,-dylib_install_name,${PLUGINDIR}/${PLUGIN}.dylib -Wl,-bundle_loader,${PREFIX}/bin/zathura -bundle ${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 $(PLUGIN)-debug.so \
-+	$(QUIET)rm -rf ${OBJECTS} ${DOBJECTS} $(PLUGIN).dylib $(PLUGIN)-debug.so \
++	$(QUIET)rm -rf ${OBJECTS} ${DOBJECTS} $(PLUGIN).dylib $(PLUGIN)-debug.dylib \
  		doc .depend ${PROJECT}-${VERSION}.tar.gz zathura-version-check
  
- debug: options ${PLUGIN}-debug.so
-@@ -77,7 +77,7 @@
+-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
  	$(QUIET)mkdir -p ${DESTDIR}${PLUGINDIR}
@@ -38,7 +45,7 @@
  	$(QUIET)mkdir -m 755 -p ${DESTDIR}${DESKTOPPREFIX}
  	$(ECHO) installing desktop file
  	$(QUIET)install -m 644 ${PROJECT}.desktop ${DESTDIR}${DESKTOPPREFIX}
-@@ -85,11 +85,11 @@
+@@ -85,11 +85,11 @@ install: all
  
  uninstall:
  	$(ECHO) uninstalling ${PLUGIN} plugin

Modified: trunk/dports/office/zathura-plugin-djvu/files/patch-config.mk.diff
===================================================================
--- trunk/dports/office/zathura-plugin-djvu/files/patch-config.mk.diff	2016-07-26 15:46:40 UTC (rev 150673)
+++ trunk/dports/office/zathura-plugin-djvu/files/patch-config.mk.diff	2016-07-26 16:02:28 UTC (rev 150674)
@@ -1,10 +1,10 @@
 diff --git a/config.mk b/config.mk
-index fec4dee..7cdb149 100644
+index 4983199..bd431b8 100644
 --- a/config.mk
 +++ b/config.mk
-@@ -40,6 +40,9 @@ LIBS = ${GIRARA_LIB} ${GLIB_LIB} ${DJVU_LIB}
- # flags
- CFLAGS += -std=c99 -fPIC -pedantic -Wall -Wno-format-zero-length -Wextra $(INCS)
+@@ -43,6 +43,9 @@ CPPFLAGS += -D_FILE_OFFSET_BITS=64
+ # compiler flags
+ CFLAGS += -std=c11 -fPIC -pedantic -Wall -Wno-format-zero-length -Wextra $(INCS)
  
 +# linker flags
 +LDFLAGS += -fPIC -fno-common
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160726/aa7c5759/attachment-0001.html>


More information about the macports-changes mailing list