diff options
author | tijl <tijl@FreeBSD.org> | 2014-08-26 22:06:08 +0800 |
---|---|---|
committer | tijl <tijl@FreeBSD.org> | 2014-08-26 22:06:08 +0800 |
commit | f8357b5cbaa160ccdf9943cac099f5e092c591da (patch) | |
tree | d0c8617b772b8f0a175d436d938b8d844590b41f /games/belooted | |
parent | 89a7d6ecbdde724b92ca6650493f56cf68855f35 (diff) | |
download | freebsd-ports-gnome-f8357b5cbaa160ccdf9943cac099f5e092c591da.tar.gz freebsd-ports-gnome-f8357b5cbaa160ccdf9943cac099f5e092c591da.tar.zst freebsd-ports-gnome-f8357b5cbaa160ccdf9943cac099f5e092c591da.zip |
- Fix missing library problems when the linker enforces explicit linking
PR: 192062
Exp-run by: antoine
Approved by: portmgr (antoine)
Diffstat (limited to 'games/belooted')
-rw-r--r-- | games/belooted/Makefile | 12 | ||||
-rw-r--r-- | games/belooted/pkg-plist | 2 |
2 files changed, 5 insertions, 9 deletions
diff --git a/games/belooted/Makefile b/games/belooted/Makefile index 59f5c221eff7..38ddf30119e0 100644 --- a/games/belooted/Makefile +++ b/games/belooted/Makefile @@ -3,7 +3,7 @@ PORTNAME= belooted PORTVERSION= 0.1.4.1 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= games MASTER_SITES= http://boby.joe.free.fr/dev/belooted/files/ \ LOCAL/martymac @@ -12,18 +12,16 @@ MAINTAINER= martymac@FreeBSD.org COMMENT= Popular 32-card trick-taking game played in France LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING -USES= gmake pkgconfig desktop-file-utils +USES= gmake pkgconfig USE_GNOME= gtk20 GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -PORTDOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README TODO - -post-install: - @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} +post-patch: + @${REINPLACE_CMD} '/^LIBS =/s/$$/ -lm/' ${WRKSRC}/src/Makefile.in .include <bsd.port.mk> diff --git a/games/belooted/pkg-plist b/games/belooted/pkg-plist index 9337f2e2c7c8..5597935269b9 100644 --- a/games/belooted/pkg-plist +++ b/games/belooted/pkg-plist @@ -42,5 +42,3 @@ share/pixmaps/belooted/icon-spade.xpm share/pixmaps/belooted/icon-none.xpm @dirrm share/pixmaps/belooted share/pixmaps/belooted.png -@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true -@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true |