aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gliv
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-05-11 17:21:19 +0800
committerkris <kris@FreeBSD.org>2002-05-11 17:21:19 +0800
commit346543be9668b19e4dc923c3b82decd4eec19925 (patch)
treea8f7b6d1cf1f0123e09cef33d85013cd77a0a6c0 /graphics/gliv
parent59e894011d40e318ac3cc9f1c1b6779e5f3d3a84 (diff)
downloadfreebsd-ports-gnome-346543be9668b19e4dc923c3b82decd4eec19925.tar.gz
freebsd-ports-gnome-346543be9668b19e4dc923c3b82decd4eec19925.tar.zst
freebsd-ports-gnome-346543be9668b19e4dc923c3b82decd4eec19925.zip
Unbreak build by correctly linking against libgnugetopt.
Noticed by: bento
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