diff options
author | adamw <adamw@FreeBSD.org> | 2014-08-06 12:34:23 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2014-08-06 12:34:23 +0800 |
commit | a46f8bdcd0bd94d6fe1cdcc8ce6a6f67bd2e39a8 (patch) | |
tree | d206a205dd3870d245c26875f1da2aaa627aad64 /databases/sqlite2 | |
parent | 0a17597462ff11896ad3e619b25fc9df0263fcef (diff) | |
download | freebsd-ports-gnome-a46f8bdcd0bd94d6fe1cdcc8ce6a6f67bd2e39a8.tar.gz freebsd-ports-gnome-a46f8bdcd0bd94d6fe1cdcc8ce6a6f67bd2e39a8.tar.zst freebsd-ports-gnome-a46f8bdcd0bd94d6fe1cdcc8ce6a6f67bd2e39a8.zip |
In some straightforward situations, protect examples behind PORTEXAMPLES,
adding EXAMPLES to OPTIONS_DEFINE where necessary. In a couple instances,
correct examples being controlled by the DOCS option.
Diffstat (limited to 'databases/sqlite2')
-rw-r--r-- | databases/sqlite2/Makefile | 2 | ||||
-rw-r--r-- | databases/sqlite2/pkg-plist | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/databases/sqlite2/Makefile b/databases/sqlite2/Makefile index 816948a3ba32..b4f20bcdd6d5 100644 --- a/databases/sqlite2/Makefile +++ b/databases/sqlite2/Makefile @@ -21,7 +21,7 @@ EXAMPLESDIR= ${PREFIX}/share/examples/sqlite2 EXTRACT_AFTER_ARGS= --exclude CVS -OPTIONS_DEFINE= TCL THREADS DOCS +OPTIONS_DEFINE= TCL THREADS DOCS EXAMPLES .if !exists(/usr/lib/libreadline.so) MAKE_ARGS= READLINE_FLAGS="-DHAVE_READLINE=1 -I${LOCALBASE}/include -L${LOCALBASE}/lib" diff --git a/databases/sqlite2/pkg-plist b/databases/sqlite2/pkg-plist index bc9b25f7264f..5fd9ba1adcf6 100644 --- a/databases/sqlite2/pkg-plist +++ b/databases/sqlite2/pkg-plist @@ -7,5 +7,5 @@ libdata/pkgconfig/sqlite.pc %%WITH_TCLWRAPPER%%lib/sqlite/libtclsqlite.so %%WITH_TCLWRAPPER%%lib/sqlite/pkgIndex.tcl %%WITH_TCLWRAPPER%%@dirrm lib/sqlite -%%EXAMPLESDIR%%/example.tcl -@dirrm %%EXAMPLESDIR%% +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example.tcl +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% |