svn commit: r366298 - head/polish/tleenx2

Tijl Coosemans tijl at FreeBSD.org
Wed Aug 27 10:06:12 UTC 2014


Author: tijl
Date: Wed Aug 27 10:06:11 2014
New Revision: 366298
URL: http://svnweb.freebsd.org/changeset/ports/366298
QAT: https://qat.redports.org/buildarchive/r366298/

Log:
  Fix missing library problem when the linker enforces explicit linking
  
  PR:		192062

Modified:
  head/polish/tleenx2/Makefile

Modified: head/polish/tleenx2/Makefile
==============================================================================
--- head/polish/tleenx2/Makefile	Wed Aug 27 08:19:29 2014	(r366297)
+++ head/polish/tleenx2/Makefile	Wed Aug 27 10:06:11 2014	(r366298)
@@ -16,7 +16,7 @@ LIB_DEPENDS=	libtlen.so:${PORTSDIR}/poli
 USES=		pkgconfig
 USE_GNOME=	gtk20
 GNU_CONFIGURE=	yes
-USE_XORG=	xscrnsaver
+USE_XORG=	x11 xscrnsaver
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 WRKSRC=		${WRKDIR}/TleenX2-${PORTVERSION}
@@ -25,7 +25,7 @@ PORTDOCS=	README gg.txt sms.txt
 
 post-patch:
 	@${REINPLACE_CMD} \
-		-e '/^tleenx2_LDADD =/,+1s,/usr/X11R6/lib/libXss.a,-lXss,' \
+		-e '/^tleenx2_LDADD =/,+1s,/usr/X11R6/lib/libXss.a,-lXss -lX11,' \
 		-e 's,/usr/X11R6/lib/libXss.a,,' \
 		${WRKSRC}/src/Makefile.in
 	@${REINPLACE_CMD} 's,/usr/local,${LOCALBASE},g; s,gcc,${CC},' \


More information about the svn-ports-all mailing list