diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2008-04-19 17:56:05 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2008-04-19 17:56:05 +0000 |
commit | 3e4ed01146cfe2bdca465bd0e4d199341f62a0b6 (patch) | |
tree | d573ea09b2bf6be67cb497df199932da9e2707c4 /x11/libdnd | |
parent | 40049f4af2200d0dcf33596508688623fc75f764 (diff) |
Notes
Diffstat (limited to 'x11/libdnd')
-rw-r--r-- | x11/libdnd/Makefile | 6 | ||||
-rw-r--r-- | x11/libdnd/files/patch-ab | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/x11/libdnd/Makefile b/x11/libdnd/Makefile index b5acfccfdeb6..cf351e3cb370 100644 --- a/x11/libdnd/Makefile +++ b/x11/libdnd/Makefile @@ -7,7 +7,7 @@ PORTNAME= libdnd PORTVERSION= 1.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11 MASTER_SITES= http://leb.net/offix/ DISTNAME= dnd.${PORTVERSION} @@ -16,10 +16,12 @@ EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= Drag and drop library -USE_XLIB= yes +USE_XORG= x11 xmu ice xaw USE_LDCONFIG= yes WRKSRC= ${WRKDIR}/DND/DNDlib GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/" \ + LDFLAGS="-L${LOCALBASE}/lib/" post-install: .if !defined(NOPORTDOCS) diff --git a/x11/libdnd/files/patch-ab b/x11/libdnd/files/patch-ab index 08ad036d4c93..550691b8906c 100644 --- a/x11/libdnd/files/patch-ab +++ b/x11/libdnd/files/patch-ab @@ -4,7 +4,7 @@ RANLIB = @RANLIB@ LIBS = @LIBS@ @X_LIBS@ @X_PRE_LIBS@ -lXmu -lXaw -lXt -lX11 @X_EXTRA_LIBS@ -+LIBS+= -Wl,-rpath,$(X11BASE)/lib ++LIBS+= -Wl,-rpath,$(LOCALBASE)/lib +SHLDFLAGS= -shared -x -soname $@ +DNDLIB= libDnd.so.1 +DNDPLUSLIB= libDnd++.so.1 |