diff options
author | dinoex <dinoex@FreeBSD.org> | 2004-04-04 13:12:54 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2004-04-04 13:12:54 +0800 |
commit | 997331981bb7354e45de1a0a75a28de726f6d090 (patch) | |
tree | d2acbcdc5c7fc3521a3dce2781e8ef4acdc8d78e | |
parent | 1f5efb784596da12a2144bb0e30f93dc7fa65257 (diff) | |
download | freebsd-ports-gnome-997331981bb7354e45de1a0a75a28de726f6d090.tar.gz freebsd-ports-gnome-997331981bb7354e45de1a0a75a28de726f6d090.tar.zst freebsd-ports-gnome-997331981bb7354e45de1a0a75a28de726f6d090.zip |
- fix linkage with netpbm
- supoort LDFLAGS
Reported by: kris (dosirak)
-rw-r--r-- | palm/ppmtoTbmp/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/palm/ppmtoTbmp/Makefile b/palm/ppmtoTbmp/Makefile index 0826c3881d52..c5aca96dfcd7 100644 --- a/palm/ppmtoTbmp/Makefile +++ b/palm/ppmtoTbmp/Makefile @@ -16,6 +16,8 @@ COMMENT= PPM to Pilot bitmap converter LIB_DEPENDS= netpbm.1:${PORTSDIR}/graphics/netpbm USE_REINPLACE= yes +MAKE_ENV+= LDFLAGS="${LDFLAGS}" +LDFLAGS+= -lm post-patch: @${REINPLACE_CMD} -e "s|^CFLAGS =.*|CFLAGS += -I${LOCALBASE}/include|g; \ |