Commit ba0cb22d authored by Andreas Tille's avatar Andreas Tille
Browse files

Attempt to build against libgclib (not working yet)

parent ff76bf00
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3,7 +3,8 @@ Section: science
Priority: optional
Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
Uploaders: Andreas Tille <tille@debian.org>
Build-Depends: debhelper (>= 12~)
Build-Depends: debhelper (>= 12~),
               libgclib-dev
Standards-Version: 4.3.0
Vcs-Browser: https://salsa.debian.org/med-team/gffread
Vcs-Git: https://salsa.debian.org/med-team/gffread.git
+13 −0
Original line number Diff line number Diff line
--- a/Makefile
+++ b/Makefile
@@ -82,8 +82,8 @@ gffread.o : gff_utils.h $(GCLDIR)/GBase.
 gff_utils.o : gff_utils.h $(GCLDIR)/gff.h
 ${GCLDIR}/gff.o : ${GCLDIR}/gff.h ${GCLDIR}/GFaSeqGet.h ${GCLDIR}/GList.hh ${GCLDIR}/GHash.hh
 ${GCLDIR}/GFaSeqGet.o : ${GCLDIR}/GFaSeqGet.h
-gffread: $(OBJS) gffread.o
-	${LINKER} ${LDFLAGS} -o $@ ${filter-out %.a %.so, $^} ${LIBS}
+gffread: gffread.o
+	${LINKER} ${LDFLAGS} -o $@ ${filter-out %.a %.so, $^} -lgclib ${LIBS}
 #	@echo
 #	${DBG_WARN}
 

debian/patches/series

0 → 100644
+1 −0
Original line number Diff line number Diff line
gclib.patch
+2 −0
Original line number Diff line number Diff line
@@ -17,6 +17,8 @@ include /usr/share/dpkg/default.mk
# for hardening you might like to uncomment this:
# export DEB_BUILD_MAINT_OPTIONS=hardening=+all

export GCLDIR=/usr/include/gclib

%:
	dh $@