summaryrefslogtreecommitdiff
path: root/graphics/gliv
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-05-11 09:21:19 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-05-11 09:21:19 +0000
commit382a242893abd07cc526602c179d368623568517 (patch)
tree5edc8ddb98b7ab62bf4c36b65bc063b0daf51dd2 /graphics/gliv
parentRemoved unnecessary file. (diff)
Unbreak build by correctly linking against libgnugetopt.
Noticed by: bento
Notes
Notes: svn path=/head/; revision=58905
Diffstat (limited to 'graphics/gliv')
-rw-r--r--graphics/gliv/Makefile2
-rw-r--r--graphics/gliv/files/patch-aa11
2 files changed, 12 insertions, 1 deletions
diff --git a/graphics/gliv/Makefile b/graphics/gliv/Makefile
index ce23c1574a2d..11dfc470247a 100644
--- a/graphics/gliv/Makefile
+++ b/graphics/gliv/Makefile
@@ -32,6 +32,6 @@ CONFIGURE_TARGET= --target=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= gliv.1
post-patch:
- @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS} -lgnugetopt|g' ${WRKSRC}/configure
+ @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
.include <bsd.port.mk>
diff --git a/graphics/gliv/files/patch-aa b/graphics/gliv/files/patch-aa
new file mode 100644
index 000000000000..66a398b255b0
--- /dev/null
+++ b/graphics/gliv/files/patch-aa
@@ -0,0 +1,11 @@
+--- src/Makefile.in.orig Sat May 11 02:13:30 2002
++++ src/Makefile.in Sat May 11 02:13:38 2002
+@@ -150,7 +150,7 @@
+ @HAVE_MAGICK_FALSE@imagemagick_dist = $(imagemagick_files)
+
+ @NEED_REPLACEMENTS_TRUE@gliv_DEPENDENCIES = ../lib/libreplacements.a
+-@NEED_REPLACEMENTS_TRUE@gliv_LDADD = -L../lib -lreplacements
++@NEED_REPLACEMENTS_TRUE@gliv_LDADD = -L../lib -lreplacements -lgnugetopt
+ localedir = $(datadir)/locale
+ DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
+ subdir = src