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
This commit is contained in:
parent
eb96867973
commit
2c6b7d5626
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=478990
@ -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
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user