svn commit: r488328 - in head/x11/eaglemode: . files
Dmitry Marakasov
amdmi3 at FreeBSD.org
Tue Dec 25 16:29:27 UTC 2018
Author: amdmi3
Date: Tue Dec 25 16:29:25 2018
New Revision: 488328
URL: https://svnweb.freebsd.org/changeset/ports/488328
Log:
- Update to 0.94.0
- Fix link with lld by correctly passing LDFLAGS
Added:
head/x11/eaglemode/files/patch-makers_unicc_plugins_unicc__gnu.pm (contents, props changed)
Deleted:
head/x11/eaglemode/files/patch-makers-unicc-plugins-unicc__gnu.pm
Modified:
head/x11/eaglemode/Makefile
head/x11/eaglemode/distinfo
Modified: head/x11/eaglemode/Makefile
==============================================================================
--- head/x11/eaglemode/Makefile Tue Dec 25 16:11:45 2018 (r488327)
+++ head/x11/eaglemode/Makefile Tue Dec 25 16:29:25 2018 (r488328)
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= eaglemode
-PORTVERSION= 0.93.2
-PORTREVISION= 2
+PORTVERSION= 0.94.0
CATEGORIES= x11
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION}
@@ -16,7 +15,8 @@ LIB_DEPENDS= libpng.so:graphics/png \
libtiff.so:graphics/tiff \
libfreetype.so:print/freetype2
-USES= compiler:features jpeg perl5 pkgconfig shebangfix tar:bzip2
+USES= compiler:features jpeg gnome perl5 \
+ pkgconfig tar:bzip2
USE_PERL5= build
USE_XORG= x11 xext xxf86vm
SUB_FILES= eaglemode.sh
@@ -58,8 +58,6 @@ BUILD_ARGS+= xine-inc-dir="${LOCALBASE}/include" \
.endif
post-patch:
- @${REINPLACE_CMD} -e 's|gcc|${CC}|; s|"-O2"|"${CFLAGS}"|' \
- ${WRKSRC}/makers/unicc/plugins/unicc_gnu.pm
@${FIND} ${WRKSRC} -name "*.pl" | ${XARGS} \
${REINPLACE_CMD} -e '1s|/usr/bin/perl|${perl_CMD}|'
Modified: head/x11/eaglemode/distinfo
==============================================================================
--- head/x11/eaglemode/distinfo Tue Dec 25 16:11:45 2018 (r488327)
+++ head/x11/eaglemode/distinfo Tue Dec 25 16:29:25 2018 (r488328)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1532802088
-SHA256 (eaglemode-0.93.2.tar.bz2) = 28724e92d17d9cb6a6dc5de5b5097e5c85389abffde3d216a33188a8f0de9bf9
-SIZE (eaglemode-0.93.2.tar.bz2) = 16541578
+TIMESTAMP = 1545663590
+SHA256 (eaglemode-0.94.0.tar.bz2) = 33798753e41f22756a6402efc445729d25ef93982a43de36de5ac8e4535b23eb
+SIZE (eaglemode-0.94.0.tar.bz2) = 16726294
Added: head/x11/eaglemode/files/patch-makers_unicc_plugins_unicc__gnu.pm
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11/eaglemode/files/patch-makers_unicc_plugins_unicc__gnu.pm Tue Dec 25 16:29:25 2018 (r488328)
@@ -0,0 +1,33 @@
+--- makers/unicc/plugins/unicc_gnu.pm.orig 2018-12-23 06:47:44 UTC
++++ makers/unicc/plugins/unicc_gnu.pm
+@@ -35,7 +35,7 @@ my $IsWinOrCygwin;
+ my $IsDarwin;
+
+ {
+- my $s=`gcc -dumpversion`; # Examples: "4.3", "2.95.3"
++ my $s=`$ENV{'CC'} -dumpversion`; # Examples: "4.3", "2.95.3"
+ if ($? != 0) { exit(1); }
+ for (;; $s=substr($s,1)) {
+ if (length($s)==0) { die("Cannot determine GCC version, stopped"); }
+@@ -112,9 +112,9 @@ sub Compile
+ push(@args,("-o",GetObjFiles->[$index]));
+ }
+ else {
+- push(@args,"gcc");
++ push(@args,$isCpp ? $ENV{'CXX'} : $ENV{'CC'});
+ if (HaveDebug) { push(@args,"-g"); }
+- push(@args,"-O2");
++ push(@args,split(/\s+/, $isCpp ? $ENV{'CXXFLAGS'} : $ENV{'CFLAGS'}));
+ if ($isCpp && $GccVersion>=4.7 && $GccVersion<6.1) {
+ push(@args,"-std=c++11");
+ }
+@@ -167,7 +167,8 @@ sub Link
+ push(@args,(@{GetObjFiles()}));
+ }
+ else {
+- push(@args,"gcc");
++ push(@args,$ENV{'CC'});
++ push(@args,split(/\s+/, $ENV{'LDFLAGS'}));
+ if (HaveDebug) { push(@args,"-g"); }
+ if ($type eq 'dynlib') {
+ push(@args,$IsDarwin ? "-dynamiclib" : "-shared");
More information about the svn-ports-head
mailing list