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 /polish/tleenx2 | |
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 'polish/tleenx2')
-rw-r--r-- | polish/tleenx2/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/polish/tleenx2/Makefile b/polish/tleenx2/Makefile index 0d2a4da0057a..36d8f53c60a5 100644 --- a/polish/tleenx2/Makefile +++ b/polish/tleenx2/Makefile @@ -24,7 +24,10 @@ WRKSRC= ${WRKDIR}/TleenX2-${PORTVERSION} PORTDOCS= README gg.txt sms.txt post-patch: - @${REINPLACE_CMD} -e 's,/usr/X11R6,${LOCALBASE},g' ${WRKSRC}/src/Makefile.in + @${REINPLACE_CMD} \ + -e '/^tleenx2_LDADD =/,+1s,/usr/X11R6/lib/libXss.a,-lXss,' \ + -e 's,/usr/X11R6/lib/libXss.a,,' \ + ${WRKSRC}/src/Makefile.in @${REINPLACE_CMD} 's,/usr/local,${LOCALBASE},g; s,gcc,${CC},' \ ${WRKSRC}/iksemel/Makefile @${REINPLACE_CMD} 's,gcc,${CC},' ${WRKSRC}/jabby/Makefile |