diff options
author | maho <maho@FreeBSD.org> | 2006-09-02 18:18:16 +0800 |
---|---|---|
committer | maho <maho@FreeBSD.org> | 2006-09-02 18:18:16 +0800 |
commit | 35949171cb874611928b16731dd4e2f52586901e (patch) | |
tree | 4809fb115477317b3ea6b047f315e8565c957abf /math/lp_solve | |
parent | add0c230c754640670f6d223c5a03d86ebac72a6 (diff) | |
download | freebsd-ports-gnome-35949171cb874611928b16731dd4e2f52586901e.tar.gz freebsd-ports-gnome-35949171cb874611928b16731dd4e2f52586901e.tar.zst freebsd-ports-gnome-35949171cb874611928b16731dd4e2f52586901e.zip |
Add shared lib number
Diffstat (limited to 'math/lp_solve')
-rw-r--r-- | math/lp_solve/Makefile | 2 | ||||
-rw-r--r-- | math/lp_solve/pkg-plist | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/math/lp_solve/Makefile b/math/lp_solve/Makefile index c124263f97a2..c2f45c9401a9 100644 --- a/math/lp_solve/Makefile +++ b/math/lp_solve/Makefile @@ -17,6 +17,7 @@ COMMENT= Linear Programming Solver USE_BISON= yes WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION} +INSTALLS_SHLIB= yes pre-build: @${REINPLACE_CMD} -e 's:%%CFLAGS%%:${CFLAGS}:g' -e 's:%%CC%%:${CC}:g' ${WRKSRC}/lp_solve/ccc ${WRKSRC}/demo/ccc ${WRKSRC}/lpsolve55/ccc @@ -34,5 +35,6 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/lp_lib.h ${PREFIX}/include/lpsolve ${INSTALL_DATA} ${WRKSRC}/lpsolve55/liblpsolve55.a ${PREFIX}/lib ${INSTALL_DATA} ${WRKSRC}/lpsolve55/liblpsolve55.so ${PREFIX}/lib + ${LN} -sf ${PREFIX}/lib/liblpsolve55.so ${PREFIX}/lib/liblpsolve55.so.1 .include <bsd.port.mk> diff --git a/math/lp_solve/pkg-plist b/math/lp_solve/pkg-plist index ca721bf8be8f..d0dd5b22ad84 100644 --- a/math/lp_solve/pkg-plist +++ b/math/lp_solve/pkg-plist @@ -2,5 +2,6 @@ bin/lp_solve include/lpsolve/lp_lib.h lib/liblpsolve55.a lib/liblpsolve55.so +lib/liblpsolve55.so.1 %%PORTDOCS%%%%EXAMPLESDIR%%/demo %%PORTDOCS%%@dirrm %%EXAMPLESDIR%% |