Index: trunk/ports/net/libhesiod/files/patch-Makefile.in =================================================================== --- trunk/ports/net/libhesiod/files/patch-Makefile.in (revision 7) +++ trunk/ports/net/libhesiod/files/patch-Makefile.in (revision 7) @@ -0,0 +1,19 @@ +--- Makefile.in.orig 2007-12-19 22:04:11.000000000 -0500 ++++ Makefile.in 2007-12-19 22:12:17.000000000 -0500 +@@ -22,6 +22,7 @@ + LIBS=@LIBS@ + ALL_CFLAGS=-I. -DSYSCONFDIR=\"${sysconfdir}\" ${CPPFLAGS} ${CFLAGS} + OBJS=hesiod.lo hesmailhost.lo hespwnam.lo hesservbyname.lo hescompat.lo ++LIBTOOLFLAGS=$(foreach flag,$(LDFLAGS),-Xlinker $(flag)) + + .SUFFIXES: .lo + +@@ -29,7 +30,7 @@ + + libhesiod.la: ${OBJS} + ${LIBTOOL} --mode=link ${CC} -rpath ${libdir} -version-info 0:0:0 \ +- -o $@ ${OBJS} ${LIBS} ++ ${LIBTOOLFLAGS} -o $@ ${OBJS} ${LIBS} + + hestest: hestest.lo libhesiod.la + ${LIBTOOL} --mode=link ${CC} -o $@ hestest.lo libhesiod.la Index: trunk/ports/net/libhesiod/Portfile =================================================================== --- trunk/ports/net/libhesiod/Portfile (revision 2) +++ trunk/ports/net/libhesiod/Portfile (revision 7) @@ -10,5 +10,6 @@ platforms darwin master_sites ftp://athena-dist.mit.edu/pub/ATHENA/hesiod/ -patchfiles patch-hesiod.c \ +patchfiles patch-Makefile.in \ + patch-hesiod.c \ patch-config.sub \ patch-config.guess