svn commit: r478990 - in head/comms/geoid: . files
Yuri Victorovich
yuri at FreeBSD.org
Tue Sep 4 21:26:15 UTC 2018
Author: yuri
Date: Tue Sep 4 21:26:14 2018
New Revision: 478990
URL: https://svnweb.freebsd.org/changeset/ports/478990
Log:
comms/geoid: fix build on CURRENT and pet portlint
Port changes:
* Add dependencies
* Correct the patch tag in post-patch
* Add patch
PR: 231162
Submitted by: swills
Modified:
head/comms/geoid/Makefile
head/comms/geoid/files/patch-geoid.cxx
Modified: head/comms/geoid/Makefile
==============================================================================
--- head/comms/geoid/Makefile Tue Sep 4 20:44:28 2018 (r478989)
+++ head/comms/geoid/Makefile Tue Sep 4 21:26:14 2018 (r478990)
@@ -3,7 +3,7 @@
PORTNAME= geoid
PORTVERSION= 1.0
DISTVERSIONSUFFIX= .src
-PORTREVISION= 8
+PORTREVISION= 9
CATEGORIES= comms hamradio
MASTER_SITES= http://www.w1hkj.com/LinuxApps/
DISTNAME= fl_geoid
@@ -15,14 +15,17 @@ COMMENT= Geodetic computer for amateur radio use
LICENSE= GPLv2+ NONE # only one src file contains license
LICENSE_COMB= multi
-LIB_DEPENDS= libfltk.so:x11-toolkits/fltk
+LIB_DEPENDS= libfltk.so:x11-toolkits/fltk \
+ libfontconfig.so:x11-fonts/fontconfig \
+ libpng16.so:graphics/png
-USES= gmake
+USES= gmake jpeg
+USE_XORG= x11 xcursor xext xfixes xft xinerama xrender
MAKEFILE= makefile
post-patch:
@${REINPLACE_CMD} -e \
- 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/geoid.cxx
+ 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/geoid.cxx
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/geoid ${STAGEDIR}${PREFIX}/bin
Modified: head/comms/geoid/files/patch-geoid.cxx
==============================================================================
--- head/comms/geoid/files/patch-geoid.cxx Tue Sep 4 20:44:28 2018 (r478989)
+++ head/comms/geoid/files/patch-geoid.cxx Tue Sep 4 21:26:14 2018 (r478990)
@@ -13,3 +13,12 @@
exit(0);
}
}
+@@ -46,7 +44,7 @@ int main(int argc, char **argv) {
+
+ void About()
+ {
+- fl_message("Geodetic computer\nVersion: "VERSION"\nDave Freese\nw1hkj@@w1hkj.com");
++ fl_message("Geodetic computer\nVersion: " VERSION "\nDave Freese\nw1hkj@@w1hkj.com");
+ }
+
+ void cbSaveQTH()
More information about the svn-ports-head
mailing list