pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/37681: sysutils/gtk-send-pr requires libgen on IRIX



>Number:         37681
>Category:       pkg
>Synopsis:       sysutils/gtk-send-pr requires libgen on IRIX
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 03 15:35:00 +0000 2008
>Originator:     Stuart Shelton
>Release:        n/a - pkgsrc latest from CVS
>Organization:
>Environment:
IRIX64 octane 6.5 07202013 IP30 ; IRIX 6.5.30f ; MIPSpro 7.4.4m
>Description:

gtk-send-pr on IRIX requires LDFLAGS+=-lgen for the 'basename()' fucntion.
>How-To-Repeat:

>Fix:
This patch fixes things for me:

--- /usr/bsd/var/tmp/sysutils/gtk-send-pr/work/gtk-send-pr-0.4.9/Makefile       
2008-01-03 15:03:22.244705120 +0000
+++ /usr/bsd/var/tmp/sysutils/gtk-send-pr/work/gtk-send-pr-0.4.9/Makefile       
2008-01-03 15:04:00.117719600 +0000
@@ -5,11 +5,11 @@
 
 GTK_CFLAGS!=pkg-config gtk+-2.0 --cflags
 ESMTP_CFLAGS!=libesmtp-config --cflags
-CFLAGS+= -Wall -g ${GTK_CFLAGS} ${ESMTP_CFLAGS}
+CFLAGS+= ${GTK_CFLAGS} ${ESMTP_CFLAGS}
 
 GTK_LDFLAGS!=pkg-config gtk+-2.0 --libs
 ESMTP_LDFLAGS!=libesmtp-config --libs
-LDFLAGS+= ${GTK_LDFLAGS} ${ESMTP_LDFLAGS}
+LDFLAGS+= ${GTK_LDFLAGS} ${ESMTP_LDFLAGS} -lgen
 
 OBJECTS= GTK/main.o GTK/gtk_ui.o common/user_settings.o BSD/smtp.o 
common/file.o common/uname_gather.o common/pr_defs.o
 OBJ= main.o gtk_ui.o user_settings.o smtp.o file.o uname_gather.o pr_defs.o




Home | Main Index | Thread Index | Old Index