05 May 2010

Adding evilvte to pkgsrc

guest
1subject: Adding evilvte to pkgsrc
2008-11-27
  
pkgsrc is the package management framework for OS's such NetBSD and DragonflyBSD.
A minor patch is required to configure so that evilvte does not stamp over system defined LDFLAGS as we don't have a way of changing this.
If this is not acceptable, then please allow another variable at the link stage.
Thanks!

--- configure.orig      2008-11-27 12:43:30.000000000 +0000
+++ configure   2008-11-27 12:44:05.000000000 +0000
@@ -78,7 +78,7 @@
 echo "deskdir=\$(DESTDIR)$deskdir" >> src/config.o
 echo "ICON_DIR=$ICON_DIR" >> src/config.o
 echo "ICON_DIR_INSTALL=\$(DESTDIR)$ICON_DIR" >> src/config.o
-echo "LDFLAGS=-L/usr/local/lib -lvte -lgtk-x11-2.0" >> src/config.o
+echo "LDFLAGS+=-L/usr/local/lib -lvte -lgtk-x11-2.0" >> src/config.o
 echo "PROG=$PROG" >> src/config.o
 echo "EVILVTE_VERSION=$EVILVTE_VERSION" >> src/config.o
 echo "SUSE_DETECTED=$SUSE_DETECTED" >> src/config.o
 

No comments:

Post a Comment