aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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