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/frogatto | |
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/frogatto')
-rw-r--r-- | games/frogatto/Makefile | 4 | ||||
-rw-r--r-- | games/frogatto/files/patch-Makefile | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/games/frogatto/Makefile b/games/frogatto/Makefile index 74e07ef1b729..93d2a058896d 100644 --- a/games/frogatto/Makefile +++ b/games/frogatto/Makefile @@ -27,9 +27,7 @@ USE_SDL= sdl image mixer ttf PLIST_FILES= bin/${PORTNAME} bin/${PORTNAME}-server post-patch: - @${REINPLACE_CMD} -e \ - 's|-lpthread|${PTHREAD_LIBS}|g ; \ - s|-Werror||' ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e 's|-Werror||' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's,%lu,%u,' ${WRKSRC}/src/server.cpp @${REINPLACE_CMD} -e 's,__linux__,__${OPSYS}__,' \ ${WRKSRC}/src/clipboard.cpp diff --git a/games/frogatto/files/patch-Makefile b/games/frogatto/files/patch-Makefile index 72fc79ea8a2b..3f08bcd7243d 100644 --- a/games/frogatto/files/patch-Makefile +++ b/games/frogatto/files/patch-Makefile @@ -23,7 +23,7 @@ # Linker library options. LIBS := $(shell pkg-config --libs x11 ) -lSDLmain \ - $(shell pkg-config --libs sdl glu glew SDL_image libpng zlib) -lSDL_ttf -lSDL_mixer -+ $(shell pkg-config --libs sdl glu glew SDL_image libpng) -lSDL_ttf -lSDL_mixer ++ $(shell pkg-config --libs sdl glu glew SDL_image libpng) -lz -lSDL_ttf -lSDL_mixer include Makefile.common |