Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jul 2013 21:04:07 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r323667 - head/multimedia/mpeg2codec
Message-ID:  <201307252104.r6PL475X002563@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Thu Jul 25 21:04:07 2013
New Revision: 323667
URL: http://svnweb.freebsd.org/changeset/ports/323667

Log:
  Fix build with linker that does not copy the dt_need from libraries it links with
  like recent binutils
  
  Obtained from:	DPorts

Modified:
  head/multimedia/mpeg2codec/Makefile

Modified: head/multimedia/mpeg2codec/Makefile
==============================================================================
--- head/multimedia/mpeg2codec/Makefile	Thu Jul 25 20:38:41 2013	(r323666)
+++ head/multimedia/mpeg2codec/Makefile	Thu Jul 25 21:04:07 2013	(r323667)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	mpeg2codec
-# Date created:		November 25, 1996
-# Whom:			"Philippe Charnier" <charnier@lirmm.fr>
-#
+# Created by: Philippe Charnier <charnier@lirmm.fr>
 # $FreeBSD$
-#
 
 PORTNAME=	mpeg2codec
 PORTVERSION=	1.2
@@ -16,7 +12,7 @@ MASTER_SITES=	http://fossies.org/unix/mi
 DISTNAME=	mpeg2vidcodec_v12
 
 MAINTAINER=	multimedia@FreeBSD.org
-COMMENT=	An MPEG-2 Encoder and Decoder
+COMMENT=	MPEG-2 Encoder and Decoder
 
 OPTIONS_DEFINE=	X11 DOCS
 OPTIONS_DEFAULT=	X11
@@ -43,7 +39,7 @@ PLIST_DIRS=	%%DATADIR%%
 USE_XORG=	xext
 MAKE_ARGS+=	USE_DISP="-DDISPLAY" \
 		USE_SHMEM="-DSH_MEM" \
-		LIBS="$$(pkg-config --libs xext)" \
+		LIBS="$$(pkg-config --libs xext) -lX11" \
 		INCLUDEDIR="$$(pkg-config --cflags xext)"
 .endif
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307252104.r6PL475X002563>