From e611e96789f7b8961be6308068d8d06b29d1827e Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Thu, 25 Jul 2013 21:04:07 +0000 Subject: Fix build with linker that does not copy the dt_need from libraries it links with like recent binutils Obtained from: DPorts --- multimedia/mpeg2codec/Makefile | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'multimedia/mpeg2codec') diff --git a/multimedia/mpeg2codec/Makefile b/multimedia/mpeg2codec/Makefile index d712d1050ace..d27a9ae52f13 100644 --- a/multimedia/mpeg2codec/Makefile +++ b/multimedia/mpeg2codec/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: mpeg2codec -# Date created: November 25, 1996 -# Whom: "Philippe Charnier" -# +# Created by: Philippe Charnier # $FreeBSD$ -# PORTNAME= mpeg2codec PORTVERSION= 1.2 @@ -16,7 +12,7 @@ MASTER_SITES= http://fossies.org/unix/misc/old/ \ 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 -- cgit v1.3